From e794cb23a8ae66004292b65521197f842a922429 Mon Sep 17 00:00:00 2001 From: gziolo Date: Fri, 12 Feb 2021 16:39:01 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/admin/includesPost.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/admin/includesPost.php b/tests/phpunit/tests/admin/includesPost.php index 366bfefcd7a7c..4dffffd0d0ac3 100644 --- a/tests/phpunit/tests/admin/includesPost.php +++ b/tests/phpunit/tests/admin/includesPost.php @@ -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 ] );