Skip to content

Commit

Permalink
Assert image is successfully generated
Browse files Browse the repository at this point in the history
  • Loading branch information
endroid committed Dec 4, 2020
1 parent 9a34718 commit 43b3695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/QrCodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public function testWriteFile(): void

$image = imagecreatefromstring(file_get_contents($filename));

$this->assertTrue(is_resource($image));
$this->assertTrue($image !== false);

imagedestroy($image);
}
Expand Down

0 comments on commit 43b3695

Please sign in to comment.