From cc26f99aa20aabcf782ee4d3fd802b80c5975ebc Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 7 Dec 2023 12:49:10 +0100 Subject: [PATCH] fixup! test(integration): ensure group migration works --- tests/integration/features/Shibboleth.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/features/Shibboleth.feature b/tests/integration/features/Shibboleth.feature index 3053b72ba..26f9fb5d3 100644 --- a/tests/integration/features/Shibboleth.feature +++ b/tests/integration/features/Shibboleth.feature @@ -137,14 +137,14 @@ Feature: Shibboleth And The setting "security-wantAssertionsSigned" is set to "1" And The setting "localGroupsCheckForMigration" is set to '{\"dropAfter\":9223372036854775807,\"groups\":[\"Astrophysics\",\"Students\"]}' And the local group "Astrophysics" is created - # Initial login so the user is known and belonging to SAML + # Initial login so the user is known and belonging to SAML, directly followed by a logout And I send a GET request to "http://localhost:8080/index.php/login" And I should be redirected to "https://localhost:4443/idp/profile/SAML2/Redirect/SSO" And I send a POST request to "https://localhost:4443/idp/profile/SAML2/Redirect/SSO?execution=e1s1" with the following data |j_username|j_password|_eventId_proceed| |student1 |password | | And The response should be a SAML redirect page that gets submitted - And I should be redirected to "http://localhost:8080/index.php/apps/dashboard/" + #And I should be redirected to "http://localhost:8080/index.php/apps/dashboard/" And I send a GET request with requesttoken to "http://localhost:8080/index.php/apps/user_saml/saml/sls" # Set the proper attributes And The setting "saml-attribute-mapping-email_mapping" is set to "urn:oid:0.9.2342.19200300.100.1.3" @@ -158,7 +158,7 @@ Feature: Shibboleth |j_username|j_password|_eventId_proceed| |student1 |password | | And The response should be a SAML redirect page that gets submitted - And I should be redirected to "http://localhost:8080/index.php/apps/dashboard/" + #And I should be redirected to "http://localhost:8080/index.php/apps/dashboard/" And The user value "groups" should be "Astrophysics,SAML_Students" And the group backend of "Astrophysics" should be "Database" And Then the group backend of "Astrophysics" must not be "user_saml"