Tests: Correct assertion in WP_Test_REST_Comments_Controller::check_comment_data().

`author_avatar_urls` should be present in the comment data array keys, not values.

The test only passed accidentally due to `assertContains()` not performing a strict type check.

See #38266, #50913.
Built from https://develop.svn.wordpress.org/trunk@49051


git-svn-id: http://core.svn.wordpress.org/trunk@48813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-09-26 03:14:07 +00:00
parent cd1f30e28d
commit 2e56bb91a8

View File

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