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:
Sergey Biryukov 2021-07-22 18:50:57 +00:00
parent b38d2f9949
commit f753d70a82

View File

@ -13,7 +13,7 @@
*
* @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.