5 months ago

Unit Test fails because the SUT tries to log an error.

Posted 5 months ago by barrymcm

When running a test that asserts an error is returned the SUT also tries to log an error but it cant because

There is no existing directory at storage/logs and its not buildable: Permission denied.

is there a way to suppress writing logs when running tests in laravel?

Please sign in or create an account to participate in this conversation.