You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to this reference, PHPUnit can trigger a callback when an assertion fails. This could allow us to log additional detail (such as the response payload, or errorId and CF-Ray ID) when the API responds with an error unexpectedly. Such an outcome would be much more valuable than just "Failed asserting that 500 matches expected 201", as per this test run.
The text was updated successfully, but these errors were encountered:
Hi @benfterpay,
What would be the desired outcome? (i.e: log it to sentry?)
also, the logs for the test run have expired and are no longer available :)
According to this reference, PHPUnit can trigger a callback when an assertion fails. This could allow us to log additional detail (such as the response payload, or
errorId
and CF-Ray ID) when the API responds with an error unexpectedly. Such an outcome would be much more valuable than just "Failed asserting that 500 matches expected 201", as per this test run.The text was updated successfully, but these errors were encountered: