wordpress-develop/tests/phpunit/tests/admin
Sergey Biryukov 274bc8b0ec Tests: Reset current screen after setting it to dashboard in add_submenu_page() tests.
This avoids polluting other tests and allows the `ms-excluded` test group to successfully run on its own.

Props johnbillion, SergeyBiryukov.
See #52607.

git-svn-id: https://develop.svn.wordpress.org/trunk@50433 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-25 11:10:46 +00:00
..
includesComment.php Build/Test Tools: Standardise the name, signature, and usage of the wpSetUpBeforeClass() method that's used in test classes. 2020-11-15 13:59:32 +00:00
includesCommunityEvents.php Community Events: Update timezone-related @since tags to 5.5.2. 2020-10-14 21:33:10 +00:00
includesFile.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
includesListTable.php Tests: Ignore EOL differences in WP_List_Table::get_bulk_items() test for optgroups. 2020-11-24 20:41:13 +00:00
includesMisc.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
includesPlugin.php Tests: Reset current screen after setting it to dashboard in add_submenu_page() tests. 2021-02-25 11:10:46 +00:00
includesPost.php Tests: Fix failing unit test for block settings 2021-02-12 16:39:01 +00:00
includesSchema.php Build/Test Tools: Standardise the name, signature, and usage of the wpSetUpBeforeClass() method that's used in test classes. 2020-11-15 13:59:32 +00:00
includesScreen.php Code Modernization: Use explicit visibility for class property declarations. 2020-10-17 16:24:35 +00:00
includesTemplate.php Docs: Correct comments in test_wp_add_dashboard_widget() per the documentation standards. 2020-10-11 02:35:32 +00:00
includesTheme.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
includesUpdateCore.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
includesUser.php REST API: Introduce Application Passwords for API authentication. 2020-10-08 22:12:02 +00:00
wpPrivacyRequestsTable.php Tests: Clean up some existing @covers tags. 2020-08-25 00:57:17 +00:00