Skip to content

Commit

Permalink
improve test message
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Alexander <824344+ironprogrammer@users.noreply.github.com>
  • Loading branch information
matiasbenedetto and ironprogrammer committed Mar 14, 2024
1 parent de55afb commit e3e8289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/tests/fonts/font-library/wpFontsDir.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e3e8289

Please sign in to comment.