add test for choose services and related redirects to it

it'll just show the add service button if you only have archived services
This commit is contained in:
Leo Hemsted
2016-11-16 11:44:29 +00:00
parent 08881e5bd1
commit 805639a2e1
3 changed files with 61 additions and 37 deletions

View File

@@ -16,13 +16,13 @@ class ServiceAPIClient(BaseAPIClient):
self.service_id = application.config['ADMIN_CLIENT_USER_NAME']
self.api_key = application.config['ADMIN_CLIENT_SECRET']
def create_service(self, service_name, active, message_limit, restricted, user_id, email_from):
def create_service(self, service_name, message_limit, restricted, user_id, email_from):
"""
Create a service and return the json.
"""
data = {
"name": service_name,
"active": active,
"active": True,
"message_limit": message_limit,
"user_id": user_id,
"restricted": restricted,