[wp-trac] [WordPress Trac] #29827: Leftover taxonomies break later tests

WordPress Trac noreply at wordpress.org
Thu Oct 2 03:14:34 UTC 2014


#29827: Leftover taxonomies break later tests
------------------------------+------------------------------
 Reporter:  boonebgorges      |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  2nd-opinion       |     Focuses:
------------------------------+------------------------------

Comment (by boonebgorges):

 Replying to [comment:1 nacin]:
 > Alternative idea, untested: [attachment:29827.2.patch].

 Yup, that was my first thought too, but `tearDown()` isn't run if the test
 fails. So the taxonomies/post types will still be there for the next test
 that runs (and for every test that runs until `tearDown()` is successfully
 invoked again).

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


More information about the wp-trac mailing list