With sync as the queue connection, a dispatched job runs at once inside the test. That is right for most tests: “delete a license” should end with the provider...
Laravel, shipping fast.
Chapter 12 · Testing and Quality Assurance