Skip to content

Commit

Permalink
Tests: Fix failing unit test for block settings
Browse files Browse the repository at this point in the history
Follow-up to [50297].

Fixes #52512.




git-svn-id: https://develop.svn.wordpress.org/trunk@50300 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
gziolo committed Feb 12, 2021
1 parent 4e080be commit e794cb2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/phpunit/tests/admin/includesPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -839,13 +839,14 @@ function test_get_block_editor_server_block_settings() {
$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 ]
);
Expand Down

0 comments on commit e794cb2

Please sign in to comment.