Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Oct 19, 2022
1 parent 5173d82 commit 7ff66ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/tests/blocks/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ public function test_register_block_type_accepts_editor_script_array() {

$registry = WP_Block_Type_Registry::get_instance();
$registered = $registry->get_all_registered();
$actual = json_encode( $registered['core/test-static']->editor_script );
$actual = $registered['core/test-static']->editor_script;

$this->assertSame( $settings['editor_script'], $actual );
}
Expand Down

0 comments on commit 7ff66ba

Please sign in to comment.