diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2023-08-04 10:39:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 10:39:57 +0200 |
commit | 44b4c16a091592203df51c19d0be1b520bc3ad9b (patch) | |
tree | 25ee31ab54832dc2bc984f4f91940c30dcb8ac33 /apps/files/tests | |
parent | f8bd676154f988ef2130ccb0e29b0cc95e42a204 (diff) | |
parent | 3962cd0aa8ab7530deffa3b41cab2e11a01fd14a (diff) | |
download | nextcloud-server-44b4c16a091592203df51c19d0be1b520bc3ad9b.tar.gz nextcloud-server-44b4c16a091592203df51c19d0be1b520bc3ad9b.zip |
Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanup
fix!: Final round of moving to IEventDispatcher
Diffstat (limited to 'apps/files/tests')
-rw-r--r-- | apps/files/tests/Service/TagServiceTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/tests/Service/TagServiceTest.php b/apps/files/tests/Service/TagServiceTest.php index dce01e7170f..2b9bc5be460 100644 --- a/apps/files/tests/Service/TagServiceTest.php +++ b/apps/files/tests/Service/TagServiceTest.php @@ -29,10 +29,10 @@ namespace OCA\Files\Tests\Service; use OCA\Files\Service\TagService; use OCP\Activity\IManager; +use OCP\EventDispatcher\IEventDispatcher; use OCP\ITags; use OCP\IUser; use OCP\IUserSession; -use Symfony\Component\EventDispatcher\EventDispatcherInterface; /** * Class TagServiceTest @@ -59,7 +59,7 @@ class TagServiceTest extends \Test\TestCase { */ private $root; - /** @var EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject */ + /** @var IEventDispatcher|\PHPUnit\Framework\MockObject\MockObject */ private $dispatcher; /** @@ -90,7 +90,7 @@ class TagServiceTest extends \Test\TestCase { ->willReturn($user); $this->root = \OC::$server->getUserFolder(); - $this->dispatcher = $this->createMock(EventDispatcherInterface::class); + $this->dispatcher = $this->createMock(IEventDispatcher::class); $this->tagger = \OC::$server->getTagManager()->load('files'); $this->tagService = $this->getTagService(['addActivity']); |