Tests: Correct assertion in `Tests_Cache::test_miss()`.

On failure to retrieve contents, `WP_Object_Cache::get()` returns `false`, not `null`.

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

Props johnbillion.
See #38266.
Built from https://develop.svn.wordpress.org/trunk@48948


git-svn-id: http://core.svn.wordpress.org/trunk@48710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-09-06 02:53:08 +00:00
parent a63708debf
commit 628a149789
1 changed files with 1 additions and 1 deletions

View File

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