Tests: Fix failing unit test for block settings

Follow-up to [50297].

Fixes #52512.




git-svn-id: https://develop.svn.wordpress.org/trunk@50300 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
gziolo 2021-02-12 16:39:01 +00:00
parent 4e080befee
commit e794cb23a8

View File

@ -839,13 +839,14 @@ class Tests_Admin_Includes_Post extends WP_UnitTestCase {
$this->assertArrayHasKey( $name, $blocks );
$this->assertSame(
array(
'apiVersion' => 1,
'title' => '',
'description' => '',
'icon' => 'text',
'category' => 'common',
'keywords' => array(),
'usesContext' => array(),
'category' => 'common',
'styles' => array(),
'keywords' => array(),
),
$blocks[ $name ]
);