diff options
author | Paul Tirk <paultirk@paultirk.com> | 2022-04-11 15:53:44 +0000 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2022-04-30 20:04:30 +0200 |
commit | 115df4b9e2fec28449d7f6c2a10ed2633b5f062b (patch) | |
tree | d8e5bc28df8e939f53c585499077a4bb04b3c0ce /tests | |
parent | b9c4f0bacb64aed63939430609d76fb1967b0d63 (diff) |
remove duplicate function
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Unit/Controller/ItemApiControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Unit/Controller/ItemApiControllerTest.php b/tests/Unit/Controller/ItemApiControllerTest.php index b65b1245f..749bb2d98 100644 --- a/tests/Unit/Controller/ItemApiControllerTest.php +++ b/tests/Unit/Controller/ItemApiControllerTest.php @@ -502,7 +502,7 @@ class ItemApiControllerTest extends TestCase public function testStarByItemId() { $this->itemService->expects($this->once()) - ->method('starByItemId') + ->method('star') ->with($this->uid, 123, true); $this->class->starByItemId(123); @@ -512,7 +512,7 @@ class ItemApiControllerTest extends TestCase public function testUnstarByItemId() { $this->itemService->expects($this->once()) - ->method('starByItemId') + ->method('star') ->with($this->uid, 123, false); $this->class->unstarByItemId(123); |