From 6df4ca7ddd3c4f7ebcab9ada51dc027fa8d27dac Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Thu, 19 Mar 2020 09:38:03 +0100 Subject: [PATCH] redcap API token changed (and data in the redcap changed) --- smash/web/tests/functions.py | 2 +- smash/web/tests/test_RedcapConnector.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/smash/web/tests/functions.py b/smash/web/tests/functions.py index 7f158d8b..f283c978 100644 --- a/smash/web/tests/functions.py +++ b/smash/web/tests/functions.py @@ -389,7 +389,7 @@ def prepare_test_redcap_connection(): token_item = ConfigurationItem.objects.filter( type=REDCAP_TOKEN_CONFIGURATION_TYPE)[0] # noinspection SpellCheckingInspection - token_item.value = "5C75EEC3DBDDA5218B6ACC0424B3F695" + token_item.value = "5DC21D45E3A2E068659F11046EA88734" token_item.save() url_item = ConfigurationItem.objects.filter( type=REDCAP_BASE_URL_CONFIGURATION_TYPE)[0] diff --git a/smash/web/tests/test_RedcapConnector.py b/smash/web/tests/test_RedcapConnector.py index 0841fbfd..fb539c99 100644 --- a/smash/web/tests/test_RedcapConnector.py +++ b/smash/web/tests/test_RedcapConnector.py @@ -53,7 +53,7 @@ class TestRedcapConnector(TestCase): prepare_test_redcap_connection() subject = create_study_subject() # noinspection SpellCheckingInspection - subject.nd_number = 'NDtest_external' + subject.nd_number = 'test_3' subject.save() redcap_connection = RedcapConnector() @@ -207,7 +207,7 @@ class TestRedcapConnector(TestCase): prepare_test_redcap_connection() subject = create_study_subject() # noinspection SpellCheckingInspection - subject.nd_number = 'NDtest_external' + subject.nd_number = 'test_3' subject.save() redcap_connection = RedcapConnector() -- GitLab