Tests: Correct the order of expected and actual values in `wp_validate_boolean()` tests.

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

Additionally, this commit moves the test function before the data provider, for consistency with other tests.

Follow-up to [46159], [46224].

See #54725.
Built from https://develop.svn.wordpress.org/trunk@52775


git-svn-id: http://core.svn.wordpress.org/trunk@52364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-02-19 12:42:01 +00:00
parent b7af78c1ce
commit 72373078d1
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0-alpha-52774';
$wp_version = '6.0-alpha-52775';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.