Tests: Use better assertions in `WP_UnitTestCase_Base::assertEqualFields()`:
* Check if the object attribute exists before checking its value. * Mention the field name in error messages in case of failure. Follow-up to [51478], [51479], [51480]. Props jrf. See #53363. Built from https://develop.svn.wordpress.org/trunk@51481 git-svn-id: http://core.svn.wordpress.org/trunk@51092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b38d2f9949
commit
f753d70a82
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.9-alpha-51480';
|
$wp_version = '5.9-alpha-51481';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue