Summer Sale! All accounts are 50% off this week.

lolwut147258369's avatar

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?

0 likes
0 replies

Please or to participate in this conversation.