diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-02-11 21:40:01 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-02-12 15:11:58 +0100 |
commit | 6235175b6dba4ab416db60a21559a69db2defa83 (patch) | |
tree | ce479c4e32aefe6c7730cfe7ec158cfb1f70f3d9 /apps/files/tests/Service | |
parent | d2d7e37b7bf00ea7929da02459e4abb8640d064a (diff) | |
download | nextcloud-server-6235175b6dba4ab416db60a21559a69db2defa83.tar.gz nextcloud-server-6235175b6dba4ab416db60a21559a69db2defa83.zip |
Make TAG_FAVORITE public
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/files/tests/Service')
-rw-r--r-- | apps/files/tests/Service/TagServiceTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/tests/Service/TagServiceTest.php b/apps/files/tests/Service/TagServiceTest.php index 2e0d98e1fed..7366c926b90 100644 --- a/apps/files/tests/Service/TagServiceTest.php +++ b/apps/files/tests/Service/TagServiceTest.php @@ -25,9 +25,9 @@ namespace OCA\Files\Tests\Service; -use OC\Tags; use OCA\Files\Service\TagService; use OCP\Activity\IManager; +use OCP\ITags; use OCP\IUser; use OCP\IUserSession; use Symfony\Component\EventDispatcher\EventDispatcherInterface; @@ -172,7 +172,7 @@ class TagServiceTest extends \Test\TestCase { ); // set tags - $this->tagService->updateFileTags('subdir/test.txt', [Tags::TAG_FAVORITE]); + $this->tagService->updateFileTags('subdir/test.txt', [ITags::TAG_FAVORITE]); // remove tag $this->tagService->updateFileTags('subdir/test.txt', []); |