Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Nov 3, 2021
1 parent 8173430 commit 0e68b51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions phpunit/class-wp-theme-json-schema-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ function test_migrate_v0_to_v1() {
}

function test_migrate_v0_to_v1_get_settings() {
$defaults = WP_Theme_JSON_Schema::ALL_BLOCKS_NAME;
$root = WP_Theme_JSON_Schema::ROOT_BLOCK_NAME;
$defaults = WP_Theme_JSON_Schema::V0_ALL_BLOCKS_NAME;
$root = WP_Theme_JSON_Schema::V0_ROOT_BLOCK_NAME;
$theme_json = new WP_Theme_JSON_Gutenberg(
array(
'settings' => array(
Expand Down Expand Up @@ -359,8 +359,8 @@ function test_migrate_v0_to_v1_get_settings() {
}

function test_migrate_v0_to_v1_get_stylesheet() {
$root_name = WP_Theme_JSON_Schema::ROOT_BLOCK_NAME;
$all_blocks_name = WP_Theme_JSON_Schema::ALL_BLOCKS_NAME;
$root_name = WP_Theme_JSON_Schema::V0_ROOT_BLOCK_NAME;
$all_blocks_name = WP_Theme_JSON_Schema::V0_ALL_BLOCKS_NAME;
$theme_json = new WP_Theme_JSON_Gutenberg( array() );
$theme_json->merge(
new WP_Theme_JSON_Gutenberg(
Expand Down

0 comments on commit 0e68b51

Please sign in to comment.