Skip to content

Commit

Permalink
Update ResponsiveImageTest.php
Browse files Browse the repository at this point in the history
remove incorrect test
  • Loading branch information
aSeriousDeveloper authored Dec 9, 2024
1 parent 7cc39b6 commit edde0e5
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/ResponsiveImages/ResponsiveImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,3 @@

expect($media->getResponsiveImageUrls('non-existing-conversion'))->toBe([]);
});

test('a media instance can be set to not generate responsive urls', function () {
$this
->testModelWithResponsiveImages
->addMedia($this->getTestJpg())
->withResponsiveImages()
->withResponsiveImages(false)
->toMediaCollection();

$media = $this->testModelWithResponsiveImages->getFirstMedia();

expect($media->hasResponsiveImages())->toBeFalse();

expect($media->hasResponsiveImages('thumb'))->toBeFalse();
});

0 comments on commit edde0e5

Please sign in to comment.