Skip to content

Commit

Permalink
fixup! feat(groups) Add group backend
Browse files Browse the repository at this point in the history
  • Loading branch information
blizzz committed Nov 20, 2023
1 parent ed92849 commit 0e8d0b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/integration/features/Shibboleth.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tests/integration/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0e8d0b3

Please sign in to comment.