@@ -139,14 +139,14 @@ public static function dataValidationFailed(): array
139139 $ notImageResult = ['' => ['Value must be an image. ' ]];
140140
141141 return [
142- 'heic-with-width ' => [__DIR__ . '/797x808.HEIC ' , new Image (width: 10 ), $ notImageResult ],
143- 'heic-with-height ' => [__DIR__ . '/797x808.HEIC ' , new Image (height: 10 ), $ notImageResult ],
144- 'heic-with-min-width ' => [__DIR__ . '/797x808.HEIC ' , new Image (minWidth: 10 ), $ notImageResult ],
145- 'heic-with-max-height ' => [__DIR__ . '/797x808.HEIC ' , new Image (minHeight: 10 ), $ notImageResult ],
146- 'heic-with-max-width ' => [__DIR__ . '/797x808.HEIC ' , new Image (maxWidth: 10 ), $ notImageResult ],
147- 'heic-with-min-height ' => [__DIR__ . '/797x808.HEIC ' , new Image (maxHeight: 10 ), $ notImageResult ],
142+ 'heic-with-width ' => [__DIR__ . '/not-image.jpg ' , new Image (width: 10 ), $ notImageResult ],
143+ 'heic-with-height ' => [__DIR__ . '/not-image.jpg ' , new Image (height: 10 ), $ notImageResult ],
144+ 'heic-with-min-width ' => [__DIR__ . '/not-image.jpg ' , new Image (minWidth: 10 ), $ notImageResult ],
145+ 'heic-with-max-height ' => [__DIR__ . '/not-image.jpg ' , new Image (minHeight: 10 ), $ notImageResult ],
146+ 'heic-with-max-width ' => [__DIR__ . '/not-image.jpg ' , new Image (maxWidth: 10 ), $ notImageResult ],
147+ 'heic-with-min-height ' => [__DIR__ . '/not-image.jpg ' , new Image (maxHeight: 10 ), $ notImageResult ],
148148 'heic-with-size-and-custom-message ' => [
149- ['a ' => __DIR__ . '/797x808.HEIC ' ],
149+ ['a ' => __DIR__ . '/not-image.jpg ' ],
150150 ['a ' => new Image (minWidth: 10 , notImageMessage: 'Value of "{property}" must be an image. ' )],
151151 ['a ' => ['Value of "a" must be an image. ' ]],
152152 ],
0 commit comments