From e3e8289f82706e07a14dad2a4c1548a8216363b7 Mon Sep 17 00:00:00 2001 From: Matias Benedetto Date: Thu, 14 Mar 2024 10:37:23 -0300 Subject: [PATCH] improve test message Co-authored-by: Brian Alexander <824344+ironprogrammer@users.noreply.github.com> --- tests/phpunit/tests/fonts/font-library/wpFontsDir.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/fonts/font-library/wpFontsDir.php b/tests/phpunit/tests/fonts/font-library/wpFontsDir.php index 93bee96227f91..8c0787bc9f37e 100644 --- a/tests/phpunit/tests/fonts/font-library/wpFontsDir.php +++ b/tests/phpunit/tests/fonts/font-library/wpFontsDir.php @@ -102,7 +102,7 @@ public function test_should_create_fonts_dir_in_uploads_when_fails_in_wp_content $this->assertDirectoryDoesNotExist( path_join( WP_CONTENT_DIR, 'fonts' ), 'The `wp-content/fonts` directory should not exist.' ); $this->assertDirectoryExists( $font_dir['path'], 'The `uploads/fonts` directory should exist.' ); - $this->assertSame( $expected, $font_dir, 'The font directory should be a subdir in the uploads directory.' ); + $this->assertSame( $expected, $font_dir, 'The `fonts` directory should be a subdir in the `uploads` directory.' ); } private function remove_fonts_directory() {