Skip to content

Commit

Permalink
fixup! test(integration): ensure group migration works
Browse files Browse the repository at this point in the history
  • Loading branch information
blizzz committed Dec 6, 2023
1 parent 2c95cdb commit ed3d22b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions tests/integration/features/Shibboleth.feature
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ Feature: Shibboleth
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 send a GET request with requesttoken to "http://localhost:8080/index.php/logout"
# Set the proper attributes
And The setting "saml-attribute-mapping-email_mapping" is set to "urn:oid:0.9.2342.19200300.100.1.3"
Expand Down
7 changes: 4 additions & 3 deletions tests/integration/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ public function after() {
$user
)
);
if (file_exists(self::ENV_CONFIG_FILE)) {
unlink(self::ENV_CONFIG_FILE);
}
}

if (file_exists(self::ENV_CONFIG_FILE)) {
unlink(self::ENV_CONFIG_FILE);
}

foreach ($this->changedSettings as $setting) {
Expand Down

0 comments on commit ed3d22b

Please sign in to comment.