From 6235175b6dba4ab416db60a21559a69db2defa83 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Tue, 11 Feb 2020 21:40:01 +0100 Subject: Make TAG_FAVORITE public Signed-off-by: Daniel Kesselberg --- apps/files/tests/Service/TagServiceTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/files/tests') 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', []); -- cgit v1.2.3