The 500 errors generated during phpunit tests aren't showing up in the Apache error logs. Where are those errors logged?


1 Answer 1


I found out what's going on. Instead of letting Apache log the 500 error, phpunit is returning the error message as HTML markup to the call to $this->drupalGet($path).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.