Skip to content

Commit 75f82d8

Browse files
Tests: Properly mark test_submenu_helpers_priority() as skipped for multisite, so it's not categorized as "risky".
See #39776. git-svn-id: https://develop.svn.wordpress.org/trunk@46674 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 9c3319d commit 75f82d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/admin/includesPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function test_submenu_helpers_priority( $priority, $expected_position ) {
122122

123123
// Skip for multisite.
124124
if ( is_multisite() ) {
125-
return;
125+
$this->markTestSkipped( 'This test is intended for single site.' );
126126
}
127127

128128
// Reset menus.

0 commit comments

Comments
 (0)