-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. The TestFeatureConfiguration missed the default setting. Causing some of the behat tests to fail (the ones running the check in the controller) 2. I added a dedicated test that tests if the flag can disable the unsolicited sso flow See: #1312
- Loading branch information
Showing
4 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...onext/EngineBlockFunctionalTestingBundle/Features/UnsolicitedSingleSignOnDisabled.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Feature: | ||
In order to disable unsolicited single sign On | ||
As an administrator | ||
I want to be able to disable unsolicited login | ||
|
||
Background: | ||
Given an EngineBlock instance on "vm.openconext.org" | ||
And feature "eb.feature_enable_idp_initiated_flow" is disabled | ||
And no registered SPs | ||
And no registered Idps | ||
And an Identity Provider named "Dummy IdP" | ||
And a Service Provider named "Dummy SP" | ||
|
||
# The feature flag: eb.feature_enable_idp_initiated_flow can disable unsolicited login | ||
# EB Shows a 404 page in that case as the entire HTTP route is blocked in that case | ||
Scenario: Engine disallows unsolicited login | ||
When An IdP initiated Single Sign on for SP "Dummy SP" is triggered by IdP "Dummy IdP" | ||
Then I should see "404 - Page not found" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters