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 4b3d0ea commit 8173430
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions phpunit/class-wp-theme-json-schema-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function test_migrate_v0_to_v1() {
),
);

$actual = WP_Theme_JSON_Schema_V0_To_V1::migrate( $theme_json_v0 );
$actual = WP_Theme_JSON_Schema::migrate( $theme_json_v0 );

$expected = array(
'version' => 1,
Expand Down 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_V0_To_V1::ALL_BLOCKS_NAME;
$root = WP_Theme_JSON_Schema_V0_To_V1::ROOT_BLOCK_NAME;
$defaults = WP_Theme_JSON_Schema::ALL_BLOCKS_NAME;
$root = WP_Theme_JSON_Schema::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_V0_To_V1::ROOT_BLOCK_NAME;
$all_blocks_name = WP_Theme_JSON_Schema_V0_To_V1::ALL_BLOCKS_NAME;
$root_name = WP_Theme_JSON_Schema::ROOT_BLOCK_NAME;
$all_blocks_name = WP_Theme_JSON_Schema::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 8173430

Please sign in to comment.