Skip to content

Commit 65d6380

Browse files
committed
Pass in what the test says it passes in.
1 parent 774c968 commit 65d6380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/Services/Nodes/NodeDeletionServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function testModelCanBePassedToFunctionInPlaceOfNodeId()
9999
$this->repository->shouldReceive('delete')->with($node->id)->once()->andReturn(true);
100100

101101
$this->assertTrue(
102-
$this->service->handle($node->id),
102+
$this->service->handle($node),
103103
'Assert that deletion returns a positive boolean value.'
104104
);
105105
}

0 commit comments

Comments
 (0)