From dd818c6203961a82aeef58bcf526aced7b361f04 Mon Sep 17 00:00:00 2001 From: Marco Nassabain Date: Thu, 4 Mar 2021 00:02:21 +0100 Subject: =?UTF-8?q?=F0=9F=9A=91=20Fix=20circular=20inclusion:=20create=20S?= =?UTF-8?q?hareService?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marco Nassabain --- tests/Unit/Service/ItemServiceTest.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'tests/Unit/Service/ItemServiceTest.php') diff --git a/tests/Unit/Service/ItemServiceTest.php b/tests/Unit/Service/ItemServiceTest.php index 1f77a92e2..e67756468 100644 --- a/tests/Unit/Service/ItemServiceTest.php +++ b/tests/Unit/Service/ItemServiceTest.php @@ -18,7 +18,6 @@ use OCA\News\Service\Exceptions\ServiceConflictException; use OCA\News\Service\Exceptions\ServiceValidationException; use OCA\News\Service\Exceptions\ServiceNotFoundException; use OCA\News\Service\ItemServiceV2; -use OCA\News\Service\FeedServiceV2; use \OCP\AppFramework\Db\DoesNotExistException; use \OCA\News\Db\Item; @@ -43,11 +42,6 @@ class ItemServiceTest extends TestCase */ private $mapper; - /** - * @var MockObject|FeedServiceV2 - */ - private $feedService; - /** * @var ItemServiceV2 */ @@ -78,10 +72,6 @@ class ItemServiceTest extends TestCase ->disableOriginalConstructor() ->getMock(); - $this->feedService = $this->getMockBuilder(FeedServiceV2::class) - ->disableOriginalConstructor() - ->getMock(); - $this->config = $this->getMockBuilder(IConfig::class) ->disableOriginalConstructor() ->getMock(); @@ -92,7 +82,6 @@ class ItemServiceTest extends TestCase $this->class = new ItemServiceV2( $this->mapper, - $this->feedService, $this->config, $this->logger ); -- cgit v1.2.3