diff options
-rw-r--r-- | tests/Unit/Controller/ItemControllerTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Unit/Controller/ItemControllerTest.php b/tests/Unit/Controller/ItemControllerTest.php index cbb5a10a9..b741df52c 100644 --- a/tests/Unit/Controller/ItemControllerTest.php +++ b/tests/Unit/Controller/ItemControllerTest.php @@ -84,6 +84,10 @@ class ItemControllerTest extends TestCase $this->getMockBuilder(FeedServiceV2::class) ->disableOriginalConstructor() ->getMock(); + $this->shareService = + $this->getMockBuilder(ShareService::class) + ->disableOriginalConstructor() + ->getMock(); $this->request = $this->getMockBuilder(IRequest::class) ->disableOriginalConstructor() ->getMock(); |