[wp-trac] [WordPress Unit Tests] #140: Reset permalinks between tests

WordPress Trac noreply at wordpress.org
Tue Nov 13 21:15:30 UTC 2012


#140: Reset permalinks between tests
-----------------------+----------------------------
 Reporter:  kurtpayne  |       Type:  defect
   Status:  new        |   Priority:  normal
Milestone:             |  Component:  Test Framework
 Keywords:             |
-----------------------+----------------------------
 Several unit tests change the permalink structure, but never revert it.
 This causes failures when the tests are run in a different order.  I
 propose that the `WP_UnitTestCase::setUp` method should reset the
 permalink structure every time.

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/140>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-trac mailing list