diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-02-13 21:40:30 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-02-13 21:40:30 +0100 |
commit | bcf1668cc89441773316bde04d0affb287433da2 (patch) | |
tree | 3d3d1b8f049fdc64632c8bd5d917a248f94e3ffe /tests/Core/Controller | |
parent | b7c944fac11f6a975ec230e7e060d6f52591d7d2 (diff) | |
download | nextcloud-server-bcf1668cc89441773316bde04d0affb287433da2.tar.gz nextcloud-server-bcf1668cc89441773316bde04d0affb287433da2.zip |
Remove config from AutoCompleteController
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/Core/Controller')
-rw-r--r-- | tests/Core/Controller/AutoCompleteControllerTest.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/Core/Controller/AutoCompleteControllerTest.php b/tests/Core/Controller/AutoCompleteControllerTest.php index 6279ba3283e..b1e9e6ba304 100644 --- a/tests/Core/Controller/AutoCompleteControllerTest.php +++ b/tests/Core/Controller/AutoCompleteControllerTest.php @@ -23,11 +23,9 @@ namespace Tests\Core\Controller; - use OC\Core\Controller\AutoCompleteController; use OCP\Collaboration\AutoComplete\IManager; use OCP\Collaboration\Collaborators\ISearch; -use OCP\IConfig; use OCP\IRequest; use Test\TestCase; @@ -36,8 +34,6 @@ class AutoCompleteControllerTest extends TestCase { protected $collaboratorSearch; /** @var IManager|\PHPUnit_Framework_MockObject_MockObject */ protected $autoCompleteManager; - /** @var IConfig|\PHPUnit_Framework_MockObject_MockObject */ - protected $config; /** @var AutoCompleteController */ protected $controller; @@ -48,14 +44,12 @@ class AutoCompleteControllerTest extends TestCase { $request = $this->createMock(IRequest::class); $this->collaboratorSearch = $this->createMock(ISearch::class); $this->autoCompleteManager = $this->createMock(IManager::class); - $this->config = $this->createMock(IConfig::class); $this->controller = new AutoCompleteController( 'core', $request, $this->collaboratorSearch, - $this->autoCompleteManager, - $this->config + $this->autoCompleteManager ); } |