Tests: Correct assertion in `Tests_DB::test_prepare_incorrect_arg_count()`.

On failure, `wpdb::prepare()` returns either an empty string or `null`, not `false`.

The test only passed accidentally due to `assertEquals()` not performing a strict type check.

Follow-up to [41662].

See #38266.
Built from https://develop.svn.wordpress.org/trunk@48974


git-svn-id: http://core.svn.wordpress.org/trunk@48736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-09-13 15:21:06 +00:00
parent 7e2c6d63b7
commit f851814996
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.6-alpha-48973';
$wp_version = '5.6-alpha-48974';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.