Changes between Initial Version and Version 1 of Ticket #56350, comment 7
- Timestamp:
- 08/19/2022 12:23:55 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56350, comment 7
initial v1 5 5 Why? Because the test contains multiple assertions, [https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#using-assertions it's ideal for error messages to indicate why a particular assertion failed]. 6 6 7 I'm not certain the third assertion is required, since that seems more like a test that `$request` didn't reset, which is out of scope here.7 I'm not certain the third assertion is required, since that seems more like a test that `$request` didn't reset, which isn't the class under test in this context.