[wp-trac] [WordPress Trac] #61080: HTML API: Tests should use expectedIncorrectUsage phpunit annotation

WordPress Trac noreply at wordpress.org
Fri Apr 26 13:51:23 UTC 2024


#61080: HTML API: Tests should use expectedIncorrectUsage phpunit annotation
--------------------------------------+------------------------------
 Reporter:  jonsurrell                |       Owner:  jonsurrell
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  HTML API                  |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by dmsnell):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58048" 58048]:
 {{{
 #!CommitTicketReference repository="" revision="58048"
 HTML API: Tests should use expectedIncorrectUsage phpunit annotation

 Some tests in the HTML API test suite use `setExpectedIncorrectUsage`.
 The annotation `@expectedIncorrectUsage` can be used to simplify the
 tests.

 Developed in https://github.com/WordPress/wordpress-develop/pull/6449
 Discussed in https://core.trac.wordpress.org/ticket/61080

 Fixes #61080.
 Props dmsnell, jonsurrell.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61080#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list