Skip to content

Glossary: Laravel

Queue::fake()

Also written: Queue::assertPushed

A test helper that records queued jobs instead of storing them, so a test can check a job was queued without running it.

Where the book teaches it

Related terms

PestJob