Skip to content

Commit

Permalink
Update ToHtmlTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
A909M committed Jan 13, 2025
1 parent 48dd1d4 commit eae396f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Feature/Media/ToHtmlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@

$imgTag = $media->refresh()->img();

expect($imgTag)->toEqual('<img srcset="/media/2/responsive-images/test___media_library_original_340_280.jpg 340w, /media/2/responsive-images/test___media_library_original_284_234.jpg 284w, /media/2/responsive-images/test___media_library_original_237_195.jpg 237w" src="/media/2/test.jpg" width="340" height="280">');
expect($imgTag)->toEqual('<img srcset="/media/2/responsive-images/test___media_library_original_340_280.jpg 340w, /media/2/responsive-images/test___media_library_original_284_234.jpg 284w, /media/2/responsive-images/test___media_library_original_237_195.jpg 237w" src="/media/2/test.jpg" width="340" height="280" alt="test">');
});

test('the loading attribute can be specified on the conversion', function () {
Expand Down

0 comments on commit eae396f

Please sign in to comment.