We had a situation in https://github.com/buttonmen-dev/buttonmen/pull/2722 in which the unit tests started logging additional errors via error_log, which was a regression, but we didn't notice until manual testing turned up the issue.
phpunit tests should capture everything logged via error_log(), and fail if what is logged is unexpected.
We had a situation in https://github.com/buttonmen-dev/buttonmen/pull/2722 in which the unit tests started logging additional errors via
error_log
, which was a regression, but we didn't notice until manual testing turned up the issue.phpunit tests should capture everything logged via
error_log()
, and fail if what is logged is unexpected.