summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-04-19 14:06:34 +0200
committerJoas Schilling <coding@schilljs.com>2021-04-27 14:34:32 +0200
commitdf47445c014b83d8400bada6dad53d26d24fd803 (patch)
treec1b46093f33a84209a7b037647888703b31b2e82 /apps/files_sharing
parent56ae87c281d2f54b23f98acf0e138d8e72196a06 (diff)
downloadnextcloud-server-df47445c014b83d8400bada6dad53d26d24fd803.tar.gz
nextcloud-server-df47445c014b83d8400bada6dad53d26d24fd803.zip
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/tests/TestCase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/TestCase.php b/apps/files_sharing/tests/TestCase.php
index f8966e3a83f..d772e6359ec 100644
--- a/apps/files_sharing/tests/TestCase.php
+++ b/apps/files_sharing/tests/TestCase.php
@@ -187,7 +187,7 @@ abstract class TestCase extends \Test\TestCase {
$userObject = $userManager->createUser($user, $password);
$group = $groupManager->createGroup('group');
- if ($group and $userObject) {
+ if ($group && $userObject) {
$group->addUser($userObject);
}
}