diff --git a/tests/integration/features/Shibboleth.feature b/tests/integration/features/Shibboleth.feature index c54f7bff3..d03614f42 100644 --- a/tests/integration/features/Shibboleth.feature +++ b/tests/integration/features/Shibboleth.feature @@ -63,7 +63,7 @@ Feature: Shibboleth 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/" Then The user value "id" should be "student1" - Then The user value "email" should be "" + And The user value "email" should be "" And The user value "display-name" should be "Default displayname of student1" And The last login timestamp of "student1" should not be empty diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index 6abdb3a24..9cb4fd351 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -235,7 +235,7 @@ public function theResponseShouldBeASamlRedirectPageThatGetsSubmitted() { * @param string $value * @throws UnexpectedValueException */ - public function thUserValueShouldBe(string $key, string $value): void { + public function theUserValueShouldBe(string $key, string $value): void { $this->response = $this->client->request( 'GET', 'http://localhost:8080/ocs/v1.php/cloud/user', @@ -347,7 +347,7 @@ public function theEnvironmentVariableIsSetTo($key, $value) { public function theGroupShouldExists(string $gid): void { $response = shell_exec( sprintf( - 'sudo -u apache %s %s group:info --output=json %s', + '%s %s group:info --output=json %s', PHP_BINARY, __DIR__ . '/../../../../../../occ', $gid