summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarco Nassabain <marco.nassabain@hotmail.com>2021-03-04 00:02:21 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 22:31:21 +0200
commitdd818c6203961a82aeef58bcf526aced7b361f04 (patch)
tree323bc44703dec1c44bbef7141215d0c4dbbfc9bf /tests
parent8fd3975907aaaf2808a517b609f13e988ba5c044 (diff)
🚑 Fix circular inclusion: create ShareService
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Service/ItemServiceTest.php11
1 files changed, 0 insertions, 11 deletions
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;
@@ -44,11 +43,6 @@ class ItemServiceTest extends TestCase
private $mapper;
/**
- * @var MockObject|FeedServiceV2
- */
- private $feedService;
-
- /**
* @var ItemServiceV2
*/
private $class;
@@ -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
);