diff options
author | Marco Nassabain <marco.nassabain@hotmail.com> | 2021-03-04 00:21:40 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 22:31:21 +0200 |
commit | d275a5b9e76388b790a40576c8db3f22bd7fdc5d (patch) | |
tree | 6fe21809b3745a7941b6619353d65c8abce8d0f6 /tests/Unit | |
parent | 409c8354336b0c96842da7ba6711468aa939d76e (diff) |
🩹 Patch ItemControllerTest to mock shareService
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'tests/Unit')
-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(); |