[wp-trac] [WordPress Trac] #28986: Define expected hooks in WP_UnitTestCase::$hooks_saved

WordPress Trac noreply at wordpress.org
Tue Jul 22 23:39:39 UTC 2014


#28986: Define expected hooks in WP_UnitTestCase::$hooks_saved
------------------------------+-----------------------------
 Reporter:  danielbachhuber   |       Owner:  wonderboymusic
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  4.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+-----------------------------

Comment (by danielbachhuber):

 This may have been user error on my part. I just realized I'm not calling
 `parent::setUp()` in my subclass, and now I can't even reproduce the
 original bug.

 Please do revert. I'll come back if I can track down what exactly
 happened.

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


More information about the wp-trac mailing list