Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56350, comment 7


Ignore:
Timestamp:
08/19/2022 12:23:55 AM (3 years ago)
Author:
ironprogrammer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56350, comment 7

    initial v1  
    55Why? 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].
    66
    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.
     7I'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.