wordpress-develop/tests/phpunit/tests/admin
Aaron Jorbin bc01ead655 Help Tab Order should be based on the Priority Argument
[34370] made the order that tabs are returned respect the order they are added, however it broke the respect of priority. By using a ksort instead of a sort, we can restore that default behavior. This adjusts the unit tests so that both order added and priority are tested.

Props meitar,  swissspidy, jorbin
Fixes #35215. See #33941.


git-svn-id: https://develop.svn.wordpress.org/trunk@36089 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-25 22:43:41 +00:00
..
includesComment.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
includesFile.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
includesListTable.php Unit Tests: implement setUpBeforeClass() and tearDownAfterClass() on WP_UnitTestCase. Use late static binding (plus a gross fallback for PHP 5.2) to check if wpSetUpBeforeClass() or wpTearDownAfterClass() exist on the called class, and then call it and pass a static WP_UnitTest_Factory instance via Dependency Injection, if it exists. 2015-10-15 04:43:37 +00:00
includesMisc.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
includesPlugin.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
includesPost.php Unit Tests: better fixtures for Tests_Admin_Includes_Post. 2015-10-17 19:47:07 +00:00
includesScreen.php Help Tab Order should be based on the Priority Argument 2015-12-25 22:43:41 +00:00
includesTemplate.php Administration: Add the ability to pass an array of screen IDs to add_meta_box() and remove_meta_box(). 2015-10-08 19:06:32 +00:00
includesTheme.php Use @expectedDeprecated. see #25282, [25408]. 2013-09-12 18:37:32 +00:00