Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hartmann <[email protected]>
  • Loading branch information
Chartman123 committed Sep 10, 2024
1 parent 0e4ec8b commit 3b5e0d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Controller/ShareApiControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,8 @@ public function testDeleteShare() {
->willReturn($form);

$this->shareMapper->expects($this->once())
->method('deleteById')
->with('8');
->method('delete')
->with($share);

$response = new DataResponse(8);
$this->assertEquals($response, $this->shareApiController->deleteShare(5, 8));
Expand Down

0 comments on commit 3b5e0d1

Please sign in to comment.