Score:0

How to get web server error logging output from phpunit functional tests?

ai flag

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

cn flag
It's basically wherever your PHP instance is configured to log errors - https://stackoverflow.com/questions/12834583/where-can-i-find-error-log-files-for-php has some useful info for locating and setting the location
Score:0
ai flag

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).

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.