Skip to content
Snippets Groups Projects
Commit 6df4ca7d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

redcap API token changed (and data in the redcap changed)

parent e455165e
No related branches found
No related tags found
1 merge request!227Resolve "exception should be handled properly"
Pipeline #22963 passed
...@@ -389,7 +389,7 @@ def prepare_test_redcap_connection(): ...@@ -389,7 +389,7 @@ def prepare_test_redcap_connection():
token_item = ConfigurationItem.objects.filter( token_item = ConfigurationItem.objects.filter(
type=REDCAP_TOKEN_CONFIGURATION_TYPE)[0] type=REDCAP_TOKEN_CONFIGURATION_TYPE)[0]
# noinspection SpellCheckingInspection # noinspection SpellCheckingInspection
token_item.value = "5C75EEC3DBDDA5218B6ACC0424B3F695" token_item.value = "5DC21D45E3A2E068659F11046EA88734"
token_item.save() token_item.save()
url_item = ConfigurationItem.objects.filter( url_item = ConfigurationItem.objects.filter(
type=REDCAP_BASE_URL_CONFIGURATION_TYPE)[0] type=REDCAP_BASE_URL_CONFIGURATION_TYPE)[0]
......
...@@ -53,7 +53,7 @@ class TestRedcapConnector(TestCase): ...@@ -53,7 +53,7 @@ class TestRedcapConnector(TestCase):
prepare_test_redcap_connection() prepare_test_redcap_connection()
subject = create_study_subject() subject = create_study_subject()
# noinspection SpellCheckingInspection # noinspection SpellCheckingInspection
subject.nd_number = 'NDtest_external' subject.nd_number = 'test_3'
subject.save() subject.save()
redcap_connection = RedcapConnector() redcap_connection = RedcapConnector()
...@@ -207,7 +207,7 @@ class TestRedcapConnector(TestCase): ...@@ -207,7 +207,7 @@ class TestRedcapConnector(TestCase):
prepare_test_redcap_connection() prepare_test_redcap_connection()
subject = create_study_subject() subject = create_study_subject()
# noinspection SpellCheckingInspection # noinspection SpellCheckingInspection
subject.nd_number = 'NDtest_external' subject.nd_number = 'test_3'
subject.save() subject.save()
redcap_connection = RedcapConnector() redcap_connection = RedcapConnector()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment