I am writing some tests for a website and I can’t seem to figure out how to test that a job was dispatched let’s say 5 times using
I’ve tried putting multiple
Queue::assertPushed(SomeJob::class) but that always passes the test no matter how many of those I put.
I’ve tried googling various things but found no useful info. Any ideas?
Leave an answer