From eb7d4edbcc0f53e154653e69b7f9765319f64797 Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Wed, 10 Jul 2024 14:46:06 -0600 Subject: [PATCH] remove beta-test tests --- behat.yml | 1 - dockerbuild/run-tests.sh | 1 - docs/the_hub.md | 7 ------- features/ZSp1Idp1BetaSp1Idp3.feature | 13 ------------- 4 files changed, 22 deletions(-) delete mode 100644 features/ZSp1Idp1BetaSp1Idp3.feature diff --git a/behat.yml b/behat.yml index 4ef546fd..0fd106ff 100644 --- a/behat.yml +++ b/behat.yml @@ -27,7 +27,6 @@ default: # - '%paths.base%//features//Sp2Idp2Sp1Idp2Sp3.feature' # - '%paths.base%//features//Sp3Idp1Sp1Idp1Sp2Idp2.feature' # - '%paths.base%//features//WwwMetadataCept.feature' -# - '%paths.base%//features//ZSp1Idp1BetaSp1Idp3.feature' status_features: paths: [ '%paths.base%//features//status.feature' ] contexts: [ 'StatusContext' ] diff --git a/dockerbuild/run-tests.sh b/dockerbuild/run-tests.sh index 37c21ec7..77f9735d 100755 --- a/dockerbuild/run-tests.sh +++ b/dockerbuild/run-tests.sh @@ -9,6 +9,5 @@ set -e /data/run-metadata-tests.sh ./vendor/bin/phpunit -v tests/AnnouncementTest.php -./vendor/bin/phpunit -v tests/IdpDiscoTest.php /data/run-integration-tests.sh diff --git a/docs/the_hub.md b/docs/the_hub.md index e366f45d..e9bab580 100644 --- a/docs/the_hub.md +++ b/docs/the_hub.md @@ -21,13 +21,6 @@ It is also used by the `TagGroup.php` Auth Proc to convert group names into the `idp||`. -##### betaEnabled -An optional metadata entry is `betaEnabled`. -This will allow the IdP to be marked as `'enable' => true` when the user has a certain cookie ('beta_tester') that they would get from visiting `hub_domain/module.php/sildisco/betatest.php`. -The user would need to manually remove that cookie to be free of this effect. - -Sildisco does not otherwise deal with looking at the `'enable'` value. However, a theme for idp discovery may (e.g. simplesamlphp-module-material). - ##### SPList In order to limit access to an IdP to only certain SP's, add an `'SPList'` array entry to the metadata for the IdP. The values of this array should match the `entity_id` values from the `sp-remote.php` metadata. diff --git a/features/ZSp1Idp1BetaSp1Idp3.feature b/features/ZSp1Idp1BetaSp1Idp3.feature deleted file mode 100644 index b5d07091..00000000 --- a/features/ZSp1Idp1BetaSp1Idp3.feature +++ /dev/null @@ -1,13 +0,0 @@ -Feature: Ensure I don't see IdP 3 at first, but after I go to the Beta Tester page I can see and login through IdP 3. - - Scenario: Normally the IdP3 is disabled - When I go to the "SP1" login page - And the url should match "sildisco/disco.php" - Then the "div" element should contain "IdP 3 coming soon" - - Scenario: After going to the "Beta Test" page, IdP3 is available for use - When I go to "http://ssp-hub.local/module.php/sildisco/betatest.php" - And I go to the "SP1" login page - And I click on the "IDP 3" tile - And I log in using my "IDP 3" credentials - Then I should see "test_admin@idp3.org"