Skip to content

Commit a04defd

Browse files
authored
Merge pull request #4577 from LibreSign/chore/small-tests-improvement
chore: small tests improvement
2 parents 90e54be + 9785b47 commit a04defd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

tests/Unit/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ private function getFullLiresignAppFolder(): string {
245245
mkdir($path, 0777, true);
246246
$user = fileowner(__FILE__);
247247
chown($path, $user);
248-
chgrp($path, $user);
248+
@chgrp($path, $user);
249249
}
250250
return realpath($path);
251251
}

tests/integration/features/identify-account/search.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Feature: search
7070
Scenario: Search account by herself with permission to identify by account
7171
Given as user "admin"
7272
And set the email of user "admin" to "admin@email.tld"
73+
And set the display name of user "admin" to "admin"
7374
And sending "post" to ocs "/apps/provisioning_api/api/v1/config/apps/libresign/identify_methods"
7475
| value | (string)[{"name":"account","enabled":true}] |
7576
When sending "get" to ocs "/apps/libresign/api/v1/identify-account/search?search=admin"

0 commit comments

Comments
 (0)