[wp-trac] [WordPress Trac] #28486: Base unit test does not have setExpectedDeprecated method

WordPress Trac noreply at wordpress.org
Sun Jun 8 15:08:57 UTC 2014


#28486: Base unit test does not have setExpectedDeprecated method
------------------------------+-----------------------------
 Reporter:  rmccue            |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  3.7
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 The `@expectedDeprecated` annotation was added in #25282, but does not
 have a method to accompany it.

 This does not match the format used by PHPUnit, where `@expectedException`
 matches to `setExpectedException()`.

 We should add `setExpectedDeprecated` as a functional way to set this
 data.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28486>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list