diff --git a/tests/phpunit/tests/webfonts-api/wpWebfontsSchemaValidator.php b/tests/phpunit/tests/webfonts-api/wpWebfontsSchemaValidator.php index 681dc248b558b..ee7b93f778c23 100644 --- a/tests/phpunit/tests/webfonts-api/wpWebfontsSchemaValidator.php +++ b/tests/phpunit/tests/webfonts-api/wpWebfontsSchemaValidator.php @@ -119,10 +119,9 @@ public function data_is_valid_schema_with_invalid() { 'font-style' => 'normal', 'font-weight' => '400', ), - 'expected_message' => array( - 'Webfont provider must be a non-empty string.', + 'expected_message' => 'Webfont provider must be a non-empty string.', ), - 'provider: not registered' => array( + 'provider: not registered' => array( 'webfont' => array( 'provider' => 'some-provider', 'font-style' => 'normal',