Skip to content

Commit 7c0e1b4

Browse files
committed
wip
1 parent 80b3b65 commit 7c0e1b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mocking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ You may use the `Bus` facade's `fake` method to prevent jobs from being dispatch
188188
}
189189
}
190190

191-
You may pass a closure to the available methods in order to assert that a job was dispatched that passes a given "truth test". If at least one job was dispatched that passes the given truth test then the assertion will be successful. For example, you may wish to assert that a job was dispatched for a specific order:
191+
You may pass a closure to the assertion methods in order to assert that a job was dispatched that passes a given "truth test". If at least one job was dispatched that passes the given truth test then the assertion will be successful. For example, you may wish to assert that a job was dispatched for a specific order:
192192

193193
Bus::assertDispatched(function (ShipOrder $job) use ($order) {
194194
return $job->order->id === $order->id;

0 commit comments

Comments
 (0)