Skip to content

Commit

Permalink
enforce png for tests
Browse files Browse the repository at this point in the history
Luckily via.placeholder.com returns png even if doc says default is gif.
Anyway it also returns png even if you explicitly ask for a gif...
  • Loading branch information
jygaulier committed Feb 26, 2018
1 parent 532ae6a commit 5873c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/DataTest.php
Expand Up @@ -121,7 +121,7 @@ public function testBuildFromFile()

public function testBuildFromUrl()
{
$url = 'http://via.placeholder.com/350x150';
$url = 'http://via.placeholder.com/350x150.png';
$dataURI = DataURI\Data::buildFromUrl($url);
$this->assertInstanceOf('DataURI\Data', $dataURI);
$this->assertEquals('image/png', $dataURI->getMimeType());
Expand Down

0 comments on commit 5873c82

Please sign in to comment.