We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774c968 commit 65d6380Copy full SHA for 65d6380
tests/Unit/Services/Nodes/NodeDeletionServiceTest.php
@@ -99,7 +99,7 @@ public function testModelCanBePassedToFunctionInPlaceOfNodeId()
99
$this->repository->shouldReceive('delete')->with($node->id)->once()->andReturn(true);
100
101
$this->assertTrue(
102
- $this->service->handle($node->id),
+ $this->service->handle($node),
103
'Assert that deletion returns a positive boolean value.'
104
);
105
}
0 commit comments