From af0a2c51a7a5e0e30817bee93c8c7be9fd8b23d0 Mon Sep 17 00:00:00 2001 From: Alex Lende Date: Mon, 3 Jun 2024 17:01:19 -0500 Subject: [PATCH] Fix phpunit tests --- .../tests/fonts/font-library/wpRestFontFacesController.php | 2 +- .../tests/fonts/font-library/wpRestFontFamiliesController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/fonts/font-library/wpRestFontFacesController.php b/tests/phpunit/tests/fonts/font-library/wpRestFontFacesController.php index 3e74b23b7cb20..a4f6d8194902f 100644 --- a/tests/phpunit/tests/fonts/font-library/wpRestFontFacesController.php +++ b/tests/phpunit/tests/fonts/font-library/wpRestFontFacesController.php @@ -623,7 +623,7 @@ public function test_create_item_invalid_theme_json_version( $theme_json_version public function data_create_item_invalid_theme_json_version() { return array( array( 1 ), - array( 3 ), + array( 4 ), ); } diff --git a/tests/phpunit/tests/fonts/font-library/wpRestFontFamiliesController.php b/tests/phpunit/tests/fonts/font-library/wpRestFontFamiliesController.php index 78890139f304e..673d03606c490 100644 --- a/tests/phpunit/tests/fonts/font-library/wpRestFontFamiliesController.php +++ b/tests/phpunit/tests/fonts/font-library/wpRestFontFamiliesController.php @@ -431,7 +431,7 @@ public function test_create_item_invalid_theme_json_version( $theme_json_version public function data_create_item_invalid_theme_json_version() { return array( array( 1 ), - array( 3 ), + array( 4 ), ); }