summaryrefslogtreecommitdiffstatshomepage
path: root/tests/phpunit/includes/phpunit7
diff options
context:
space:
mode:
authorSergey Biryukov <sergeybiryukov@git.wordpress.org>2020-09-06 02:51:45 +0000
committerSergey Biryukov <sergeybiryukov@git.wordpress.org>2020-09-06 02:51:45 +0000
commit6f07ff569bf012e1f57018437add3b959a2b2235 (patch)
tree1527d384cef9efcffb677b381ca40bc62a4351b0 /tests/phpunit/includes/phpunit7
parentd803f6bf8228625a384dbb694337c7d7957f1ec3 (diff)
downloadwordpress-6f07ff569bf012e1f57018437add3b959a2b2235.tar.gz
wordpress-6f07ff569bf012e1f57018437add3b959a2b2235.zip
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. git-svn-id: https://develop.svn.wordpress.org/trunk@48948 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'tests/phpunit/includes/phpunit7')
0 files changed, 0 insertions, 0 deletions