wordpress-develop/tests/phpunit/tests/canonical
Boone Gorges 067fa3702e In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods.
`WP_UnitTestCase::tearDown()` restores the test environment to the default
conditions, including rolling back the MySQL transaction that the test takes
place in, resetting globals, and unhooking test-specific filters. As such, all
teardown routines for specific tests should happen before the parent class's
`tearDown()` method is called. Failure to do so can cause database locks on
certain configurations, among other problems.

See #31537.

git-svn-id: https://develop.svn.wordpress.org/trunk@31622 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-05 13:14:15 +00:00
..
customRules.php Remove failing unit tests from 'canonical' group. 2014-11-08 20:36:27 +00:00
https.php Share fixtures across 'canonical' automated tests. 2014-11-08 19:28:12 +00:00
noRewrite.php Share fixtures across 'canonical' automated tests. 2014-11-08 19:28:12 +00:00
pageOnFront.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00