mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Update email_from when the service name is changed.
Update unit tests Service name is uniqueness is not based on case.
This commit is contained in:
@@ -22,14 +22,15 @@ class TestClient(FlaskClient):
|
||||
self.get(url_for("main.logout"))
|
||||
|
||||
|
||||
def service_json(id_, name, users, limit=1000, active=False, restricted=True):
|
||||
def service_json(id_, name, users, limit=1000, active=False, restricted=True, email_from=None):
|
||||
return {
|
||||
'id': id_,
|
||||
'name': name,
|
||||
'users': users,
|
||||
'limit': limit,
|
||||
'active': active,
|
||||
'restricted': restricted
|
||||
'restricted': restricted,
|
||||
'email_from': email_from
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user