Skip to content

Commit 5873c82

Browse files
authored
enforce png for tests
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...
1 parent 532ae6a commit 5873c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/DataTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function testBuildFromFile()
121121

122122
public function testBuildFromUrl()
123123
{
124-
$url = 'http://via.placeholder.com/350x150';
124+
$url = 'http://via.placeholder.com/350x150.png';
125125
$dataURI = DataURI\Data::buildFromUrl($url);
126126
$this->assertInstanceOf('DataURI\Data', $dataURI);
127127
$this->assertEquals('image/png', $dataURI->getMimeType());

0 commit comments

Comments
 (0)