diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2025-07-01 16:45:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-01 16:45:40 +0200 |
commit | 214c304cd77c4d1e0592ffdaee6be58cadbf080f (patch) | |
tree | 8ba24a6608c3c726c92ac469de1f13f7994ba65b /apps/files_sharing/tests/ApiTest.php | |
parent | bd00b75b29966bdc5170dac338ba504ab859a498 (diff) | |
parent | 9b1a306e9ffcae684d900c3b0e3d314f37d3b13d (diff) | |
download | nextcloud-server-master.tar.gz nextcloud-server-master.zip |
Merge pull request #53625 from nextcloud/dependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.4.0HEADmaster
chore(deps): bump nextcloud/coding-standard from 1.3.2 to 1.4.0 in /vendor-bin/cs-fixer
Diffstat (limited to 'apps/files_sharing/tests/ApiTest.php')
-rw-r--r-- | apps/files_sharing/tests/ApiTest.php | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/apps/files_sharing/tests/ApiTest.php b/apps/files_sharing/tests/ApiTest.php index a712903d768..4b3e1affdce 100644 --- a/apps/files_sharing/tests/ApiTest.php +++ b/apps/files_sharing/tests/ApiTest.php @@ -1,4 +1,5 @@ <?php + /** * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors * SPDX-FileCopyrightText: 2016 ownCloud, Inc. @@ -240,11 +241,11 @@ class ApiTest extends TestCase { $data = $result->getData(); $this->assertEquals( - Constants::PERMISSION_READ | - Constants::PERMISSION_CREATE | - Constants::PERMISSION_UPDATE | - Constants::PERMISSION_DELETE | - Constants::PERMISSION_SHARE, + Constants::PERMISSION_READ + | Constants::PERMISSION_CREATE + | Constants::PERMISSION_UPDATE + | Constants::PERMISSION_DELETE + | Constants::PERMISSION_SHARE, $data['permissions'] ); $this->assertEmpty($data['expiration']); @@ -1021,11 +1022,11 @@ class ApiTest extends TestCase { $share1 = $this->shareManager->getShareById($share1->getFullId()); $this->assertEquals( - Constants::PERMISSION_READ | - Constants::PERMISSION_CREATE | - Constants::PERMISSION_UPDATE | - Constants::PERMISSION_DELETE | - Constants::PERMISSION_SHARE, + Constants::PERMISSION_READ + | Constants::PERMISSION_CREATE + | Constants::PERMISSION_UPDATE + | Constants::PERMISSION_DELETE + | Constants::PERMISSION_SHARE, $share1->getPermissions() ); |