Skip to content

Commit 7bff6ae

Browse files
committed
Whoops. There is no WP_Theme_JSON_Gutenberg
1 parent d4d2016 commit 7bff6ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/phpunit/tests/theme/wpThemeJson.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6630,9 +6630,9 @@ public function test_merge_incoming_data_unique_slugs_always_preserved() {
66306630
* @ticket 64280
66316631
*/
66326632
public function test_remove_insecure_properties_should_allow_safe_settings() {
6633-
$actual = WP_Theme_JSON_Gutenberg::remove_insecure_properties(
6633+
$actual = WP_Theme_JSON::remove_insecure_properties(
66346634
array(
6635-
'version' => WP_Theme_JSON_Gutenberg::LATEST_SCHEMA,
6635+
'version' => WP_Theme_JSON::LATEST_SCHEMA,
66366636
'settings' => array(
66376637
'blocks' => array(
66386638
'core/image' => array(
@@ -6648,7 +6648,7 @@ public function test_remove_insecure_properties_should_allow_safe_settings() {
66486648
);
66496649

66506650
$expected = array(
6651-
'version' => WP_Theme_JSON_Gutenberg::LATEST_SCHEMA,
6651+
'version' => WP_Theme_JSON::LATEST_SCHEMA,
66526652
'settings' => array(
66536653
'blocks' => array(
66546654
'core/image' => array(
@@ -6669,9 +6669,9 @@ public function test_remove_insecure_properties_should_allow_safe_settings() {
66696669
* @ticket 64280
66706670
*/
66716671
public function test_remove_insecure_properties_should_not_allow_unsafe_settings() {
6672-
$actual = WP_Theme_JSON_Gutenberg::remove_insecure_properties(
6672+
$actual = WP_Theme_JSON::remove_insecure_properties(
66736673
array(
6674-
'version' => WP_Theme_JSON_Gutenberg::LATEST_SCHEMA,
6674+
'version' => WP_Theme_JSON::LATEST_SCHEMA,
66756675
'settings' => array(
66766676
'blocks' => array(
66776677
'core/image' => array(
@@ -6686,7 +6686,7 @@ public function test_remove_insecure_properties_should_not_allow_unsafe_settings
66866686
);
66876687

66886688
$expected = array(
6689-
'version' => WP_Theme_JSON_Gutenberg::LATEST_SCHEMA,
6689+
'version' => WP_Theme_JSON::LATEST_SCHEMA,
66906690
'settings' => array(
66916691
'blocks' => array(
66926692
'core/image' => array(

0 commit comments

Comments
 (0)