Skip to content

Commit

Permalink
Merge pull request #4577 from LibreSign/chore/small-tests-improvement
Browse files Browse the repository at this point in the history
chore: small tests improvement
  • Loading branch information
vitormattos authored Jan 31, 2025
2 parents 90e54be + 9785b47 commit a04defd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ private function getFullLiresignAppFolder(): string {
mkdir($path, 0777, true);
$user = fileowner(__FILE__);
chown($path, $user);
chgrp($path, $user);
@chgrp($path, $user);
}
return realpath($path);
}
Expand Down
1 change: 1 addition & 0 deletions tests/integration/features/identify-account/search.feature
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Feature: search
Scenario: Search account by herself with permission to identify by account
Given as user "admin"
And set the email of user "admin" to "[email protected]"
And set the display name of user "admin" to "admin"
And sending "post" to ocs "/apps/provisioning_api/api/v1/config/apps/libresign/identify_methods"
| value | (string)[{"name":"account","enabled":true}] |
When sending "get" to ocs "/apps/libresign/api/v1/identify-account/search?search=admin"
Expand Down

0 comments on commit a04defd

Please sign in to comment.