diff --git a/README.md b/README.md index 3ab6b22e..3e306fbf 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ define the Docker Container, as /config/default.py offers a good example of the - PB_ENABLED=true # Generally true, we should connect to Protocol Builder - PREFERRED_URL_SCHEME=https # Generally you want to run on SSL, should be https - SERVER_NAME=testing.crconnect.uvadcos.io # The url used to access this app. + - INSTANCE_NAME=testing # This is the informal name of the server, used in BPMN documents - TOKEN_AUTH_SECRET_KEY=-0-0-0- TESTING SUPER SECURE -0-0-0- # Some random characters that seed our key gen. - APPLICATION_ROOT=/api # Appended to SERVER_NAME, is the full path to this service - ADMIN_UIDS=dhf8r,cah3us # A comma delimited list of people who can preform administrative tasks. diff --git a/tests/scripts/test_get_instance.py b/tests/scripts/test_get_instance.py index 9a332d39..aa6ef2b0 100644 --- a/tests/scripts/test_get_instance.py +++ b/tests/scripts/test_get_instance.py @@ -6,9 +6,9 @@ from crc import app class TestGetInstance(BaseTest): def test_get_instance(self): - server_name = app.config['SERVER_NAME'] + instance_name = app.config['INSTANCE_NAME'] workflow = self.create_workflow('get_instance') workflow_api = self.get_workflow_api(workflow) task = workflow_api.next_task data = task.data - self.assertEqual(server_name, data['instance']) + self.assertEqual(instance_name, data['instance'])