Mar 16, 2023
0
Level 1
Mock the creation of files in Artisan commands
I'm currently writing tests for all my custom commands, and a couple of those include the creation of certain files. Is there a way to mock the creation of these files so they're not actually created in the app directory?
Please or to participate in this conversation.