Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-09-08 00:34:18 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-09-08 00:34:18 +0300
commitebd86d974e7ea648f408582edd8cf5a22e343e82 (patch)
treef6ad3d215730c587258c56ecf284ca84b45fd1a6 /tests
parenta662780251061a25dd7ad78ff0ce7af0b10a7de9 (diff)
adjust default redirect target to 20's
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/EnvironmentVariable.feature4
-rw-r--r--tests/integration/features/Shibboleth.feature6
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/integration/features/EnvironmentVariable.feature b/tests/integration/features/EnvironmentVariable.feature
index c27e1cf2..b1095771 100644
--- a/tests/integration/features/EnvironmentVariable.feature
+++ b/tests/integration/features/EnvironmentVariable.feature
@@ -5,7 +5,7 @@ Feature: EnvironmentVariable
And The setting "general-uid_mapping" is set to "REMOTE_USER"
And The environment variable "REMOTE_USER" is set to "not-provisioned-user"
When I send a GET request to "http://localhost/index.php/login"
- Then I should be redirected to "http://localhost/index.php/apps/files/"
+ Then I should be redirected to "http://localhost/index.php/apps/dashboard/"
Then The user value "id" should be "not-provisioned-user"
And The last login timestamp of "not-provisioned-user" should not be empty
@@ -16,7 +16,7 @@ Feature: EnvironmentVariable
And The setting "general-uid_mapping" is set to "REMOTE_USER"
And The environment variable "REMOTE_USER" is set to "provisioned-user"
When I send a GET request to "http://localhost/index.php/login"
- Then I should be redirected to "http://localhost/index.php/apps/files/"
+ Then I should be redirected to "http://localhost/index.php/apps/dashboard/"
Then The user value "id" should be "provisioned-user"
And The last login timestamp of "provisioned-user" should not be empty
diff --git a/tests/integration/features/Shibboleth.feature b/tests/integration/features/Shibboleth.feature
index 2676feba..ab0636da 100644
--- a/tests/integration/features/Shibboleth.feature
+++ b/tests/integration/features/Shibboleth.feature
@@ -17,7 +17,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/index.php/apps/files/"
+ And I should be redirected to "http://localhost/index.php/apps/dashboard/"
And The user value "id" should be "student1"
And The last login timestamp of "student1" should not be empty
@@ -61,7 +61,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/index.php/apps/files/"
+ And I should be redirected to "http://localhost/index.php/apps/dashboard/"
Then The user value "id" should be "student1"
Then The user value "email" should be ""
And The user value "display-name" should be "Default displayname of student1"
@@ -86,7 +86,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/index.php/apps/files/"
+ And I should be redirected to "http://localhost/index.php/apps/dashboard/"
And The user value "id" should be "student1"
And The user value "email" should be "student1@idptestbed.edu"
And The user value "display-name" should be "Stud Ent"