Build/Test Tools: Correct the order and naming of expected and actual values in various tests.

This corrects the order of the parameters when used in assertions so if/when they fail the failure message is correct.

See #53363


git-svn-id: https://develop.svn.wordpress.org/trunk@52248 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2021-11-25 19:39:31 +00:00
parent b90fc1b6dd
commit 21a7515fdb
15 changed files with 84 additions and 84 deletions

View File

@@ -392,7 +392,7 @@ class Tests_REST_WpRestMenuItemsController extends WP_Test_REST_Post_Type_Contro
$expected[] = $i;
$actual[] = $data['menu_order'];
}
$this->assertSame( $actual, $expected );
$this->assertSame( $expected, $actual );
}
/**