wordpress-develop/tests/phpunit/tests/admin
Drew Jaynes 0ea2acb720 Tests: Permalink Structures Phase II: DRY up logic for setting permalink structures in test methods.
Renames `reset_permalinks()` to `set_permalink_structure()` (mimicking `$wp_rewrite->set_permalink_structure()`) and allows it to accept an optional permalink structure. In this way, we can double dip using it to both set and reset the permalink structure from anywhere.

Removes alot of duplicated code from tests.

See #33968.


git-svn-id: https://develop.svn.wordpress.org/trunk@34810 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-03 20:54:11 +00:00
..
includesComment.php Allow comment_exists() to match based on GMT date. 2015-09-23 18:15:39 +00:00
includesFile.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
includesListTable.php Introduce a new algorithm for displaying a hierarchical list of post objects in the WP_Posts_List_Table. This reduces processing time, reduces database queries, and substantially reduces memory use on sites with a high number of Pages. 2015-03-11 20:45:17 +00:00
includesMisc.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
includesPlugin.php Update Tests_Admin_includesPlugin::test_menu_page_url() after [33858]. 2015-09-05 14:15:51 +00:00
includesPost.php Tests: Permalink Structures Phase II: DRY up logic for setting permalink structures in test methods. 2015-10-03 20:54:11 +00:00
includesScreen.php Help Tabs: when returning help tabs, return them in order of priority, but also return the items in each priority in the order that they were added. 2015-09-22 03:36:27 +00:00
includesTemplate.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
includesTheme.php Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00