diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2020-07-03 11:03:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 11:03:34 +0300 |
commit | 19e1efd1dd81620819898d3d18a4d96c61380f22 (patch) | |
tree | 217af041ab8af6e105d54c220959508496ad382d /tests | |
parent | ffc85ad61420acb1b66646b57f035f8c461c64ac (diff) | |
parent | 35c6b1236fdb2d90e55315dc0c92b5ecb20641e7 (diff) |
Merge pull request #21439 from nextcloud/feature/noid/move-autocomplete-filter-event-to-new-dispatcher-and-class
Move AutoComplete::filterResults to new event dispatcher and GenericE…
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Core/Controller/AutoCompleteControllerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Core/Controller/AutoCompleteControllerTest.php b/tests/Core/Controller/AutoCompleteControllerTest.php index ea62b502196..73bc8492113 100644 --- a/tests/Core/Controller/AutoCompleteControllerTest.php +++ b/tests/Core/Controller/AutoCompleteControllerTest.php @@ -26,9 +26,9 @@ namespace Tests\Core\Controller; use OC\Core\Controller\AutoCompleteController; use OCP\Collaboration\AutoComplete\IManager; use OCP\Collaboration\Collaborators\ISearch; +use OCP\EventDispatcher\IEventDispatcher; use OCP\IRequest; use PHPUnit\Framework\MockObject\MockObject; -use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Test\TestCase; class AutoCompleteControllerTest extends TestCase { @@ -36,7 +36,7 @@ class AutoCompleteControllerTest extends TestCase { protected $collaboratorSearch; /** @var IManager|MockObject */ protected $autoCompleteManager; - /** @var EventDispatcherInterface|MockObject */ + /** @var IEventDispatcher|MockObject */ protected $dispatcher; /** @var AutoCompleteController */ protected $controller; @@ -48,7 +48,7 @@ class AutoCompleteControllerTest extends TestCase { $request = $this->createMock(IRequest::class); $this->collaboratorSearch = $this->createMock(ISearch::class); $this->autoCompleteManager = $this->createMock(IManager::class); - $this->dispatcher = $this->createMock(EventDispatcherInterface::class); + $this->dispatcher = $this->createMock(IEventDispatcher::class); $this->controller = new AutoCompleteController( 'core', |