mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
4e080befee
commit
e794cb23a8
@ -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 ]
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user