Tests: Fix the failure in test_get_weekday_undefined_index() on PHP 8.

The test ensures that `WP_Locale::get_weekday()` throws an "undefined offset" notice when called with an incorrect `$weekday_number` parameter.

In PHP 8, that notice is now a warning, so the test needs to be adjusted accordingly.

See #50913.
Built from https://develop.svn.wordpress.org/trunk@48993


git-svn-id: http://core.svn.wordpress.org/trunk@48755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-09-18 10:58:03 +00:00
parent ddefc9ee9a
commit 6f4de5f31a

View File

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