From 13be79dc2cbd63191c7e67a95eda611ed6db453e Mon Sep 17 00:00:00 2001 From: SilviaAmAm Date: Fri, 22 Mar 2024 16:23:59 +0100 Subject: [PATCH] :white_check_mark: [#3950] Update tests --- .../contrib/eherkenning/tests/test_eherkenning_auth.py | 2 +- .../contrib/eherkenning/tests/test_eidas_auth.py | 3 ++- .../contrib/eherkenning/tests/test_signicat_integration.py | 2 +- .../contrib/digid_eherkenning/tests/test_csp_update.py | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/openforms/authentication/contrib/eherkenning/tests/test_eherkenning_auth.py b/src/openforms/authentication/contrib/eherkenning/tests/test_eherkenning_auth.py index 05914a0428..63883d6f5f 100644 --- a/src/openforms/authentication/contrib/eherkenning/tests/test_eherkenning_auth.py +++ b/src/openforms/authentication/contrib/eherkenning/tests/test_eherkenning_auth.py @@ -55,7 +55,7 @@ def setUpTestData(cls): config.service_name = "Test" config.service_description = "Test" config.want_assertions_signed = False - config.loa = "urn:etoegang:core:assurance-class:loa3" + config.eh_loa = "urn:etoegang:core:assurance-class:loa3" config.privacy_policy = "https://test-sp.nl/privacy_policy" config.makelaar_id = "00000002222222222000" config.oin = "00000001111111111000" diff --git a/src/openforms/authentication/contrib/eherkenning/tests/test_eidas_auth.py b/src/openforms/authentication/contrib/eherkenning/tests/test_eidas_auth.py index f39bb7a6f4..b449823ee5 100644 --- a/src/openforms/authentication/contrib/eherkenning/tests/test_eidas_auth.py +++ b/src/openforms/authentication/contrib/eherkenning/tests/test_eidas_auth.py @@ -55,7 +55,7 @@ def setUpTestData(cls): config.service_name = "Test eIDAS" config.service_description = "Test eIDAS" config.want_assertions_signed = False - config.loa = "urn:etoegang:core:assurance-class:loa3" + config.eh_loa = "urn:etoegang:core:assurance-class:loa3" config.privacy_policy = "https://test-sp.nl/privacy_policy" config.makelaar_id = "00000002222222222000" config.oin = "00000001111111111000" @@ -64,6 +64,7 @@ def setUpTestData(cls): config.eidas_attribute_consuming_service_index = "9999" config.eidas_requested_attributes = [] + config.eidas_loa = "urn:etoegang:core:assurance-class:loa3" config.eidas_service_uuid = "75b40657-ec50-4ced-8e7a-e77d55b46040" config.eidas_service_instance_uuid = "ebd00992-3c8f-4c1c-b28f-d98074de1554" diff --git a/src/openforms/authentication/contrib/eherkenning/tests/test_signicat_integration.py b/src/openforms/authentication/contrib/eherkenning/tests/test_signicat_integration.py index cacb813fa5..304db7ebc7 100644 --- a/src/openforms/authentication/contrib/eherkenning/tests/test_signicat_integration.py +++ b/src/openforms/authentication/contrib/eherkenning/tests/test_signicat_integration.py @@ -98,7 +98,6 @@ def setUpTestData(cls): config.makelaar_id = "00000003244440010000" config.privacy_policy = "https://example.com" config.service_language = "nl" - config.loa = AssuranceLevels.low_plus config.requested_attributes = [ "urn:etoegang:1.9:EntityConcernedID:KvKnr", @@ -107,6 +106,7 @@ def setUpTestData(cls): config.attribute_consuming_service_index = "9052" config.eh_service_uuid = "588932b9-28ae-4323-ab6c-fabbddae05cd" config.eh_service_instance_uuid = "952cee6a-6553-4f58-922d-dd03486a772c" + config.eh_loa = AssuranceLevels.low_plus config.no_eidas = True diff --git a/src/openforms/contrib/digid_eherkenning/tests/test_csp_update.py b/src/openforms/contrib/digid_eherkenning/tests/test_csp_update.py index 9847d3b15e..50f9226854 100644 --- a/src/openforms/contrib/digid_eherkenning/tests/test_csp_update.py +++ b/src/openforms/contrib/digid_eherkenning/tests/test_csp_update.py @@ -146,7 +146,7 @@ def setUpTestData(cls): cls.config.base_url = "https://test-sp.nl" cls.config.service_name = "Test" cls.config.service_description = "Test" - cls.config.loa = "urn:etoegang:core:assurance-class:loa3" + cls.config.eh_loa = "urn:etoegang:core:assurance-class:loa3" cls.config.oin = "00000001111111111000" cls.config.no_eidas = True cls.config.privacy_policy = "https://test-sp.nl/privacy_policy"