Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Oct 24, 2023
1 parent 8f1fd6a commit 818fc6e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/Feature/FileAdder/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,16 +318,6 @@
expect($this->getMediaDirectory("{$media->id}/test-with-space.jpg"))->toBeFile();
});

it('can add a remote file with an accent in the name to the media library', function () {
$url = 'https://orbit.brightbox.com/v1/acc-jqzwj/Marquis-Leisure/reviews/images/000/000/898/original/Antar%C3%A8sThumb.jpg';

$media = $this->testModel
->addMediaFromUrl($url)
->toMediaCollection();

expect($this->getMediaDirectory("{$media->id}/AntarèsThumb.jpg"))->toBeFile();
});

it('will thrown an exception when a remote file could not be added', function () {
$url = 'https://docs.spatie.be/images/medialibrary/thisonedoesnotexist.jpg';

Expand Down

0 comments on commit 818fc6e

Please sign in to comment.