Skip to content

Add "assertNotExecuted"

Compare
Choose a tag to compare
@TitasGailius TitasGailius released this 24 Nov 15:37
· 13 commits to master since this release

Alternatively you can also check that a given command was not executed. You may accomplish this by calling the Terminal::assertNotExecuted method after calling Terminal::fake.

Terminal::fake();

Terminal::assertNotExecuted('php artisan migrate');