Skip to content

Commit 6b20f99

Browse files
committed
Tests: Note image editor class in skipped test note.
When the image editor being used is available, it should be noted in the skipped test message. See #63167. git-svn-id: https://develop.svn.wordpress.org/trunk@60772 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 2553772 commit 6b20f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/image/resize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function test_resize_heic() {
126126

127127
// Check if the editor supports the HEIC mime type.
128128
if ( is_wp_error( $editor ) || ! $editor->supports_mime_type( 'image/heic' ) ) {
129-
$this->markTestSkipped( 'No HEIC support in the editor engine on this system.' );
129+
$this->markTestSkipped( sprintf( 'No HEIC support in the editor engine %s on this system.', $this->editor_engine ) );
130130
}
131131

132132
$image = $this->resize_helper( $file, 25, 25 );

0 commit comments

Comments
 (0)