Tests: Consistently use the `expectException()` method instead of the older `@expectedException` annotation.

See https://thephp.cc/news/2016/02/questioning-phpunit-best-practices

The method is available since PHPUnit 5.2, and WordPress currently supports PHPUnit 5.4 as the minimum version.

Follow-up to [48993].

See #51344.
Built from https://develop.svn.wordpress.org/trunk@48996


git-svn-id: http://core.svn.wordpress.org/trunk@48758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-09-18 13:24:07 +00:00
parent 68d3c5ca56
commit e42779f9a0
1 changed files with 1 additions and 1 deletions

View File

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