Wordpress/tests/phpunit/tests/rewrite
Scott Taylor 02319efa71 Unit Tests:
* Automatically delete objects that we were created during `wpSetUpBeforeClass` - posts, comments, terms (except 1), and user (except 1)
* The amount of leftover data between tests was breathtaking - use the new function: `_delete_all_data()`
* Commit database transactions for all `TestCase`s, not just those that implement `wpSetUpBeforeClass` and `wpTearDownAfterClass`
* The tests run 10-20 seconds faster now

See #37699.


git-svn-id: https://develop.svn.wordpress.org/trunk@38398 602fd350-edb4-49c9-b593-d223f7449a82
2016-08-27 08:35:16 +00:00
..
addRewriteEndpoint.php Unit Tests: 2016-08-27 08:35:16 +00:00
addRewriteRule.php Tests: Update Tests_Rewrite_AddRewriteRule->setUp() to use the new set_permalink_structure() helper. 2015-10-06 16:01:38 +00:00
numericSlugs.php Correct some more tests which were using example.org instead of WP_TESTS_DOMAIN. 2016-02-26 00:25:10 +00:00
oldSlugRedirect.php Canonical / Query: Restore the is_404() check in wp_old_slug_redirect() which was removed in [34659]. 2016-03-23 21:53:44 +00:00
permastructs.php Unit Tests: Fix the unit test added in [36181] to include the index in the comparison. 2016-01-06 08:09:51 +00:00
rewriteTags.php Tests: Fix unit tests after [36217]. 2016-01-07 10:16:47 +00:00