diff --git a/tests/QRCodeTest.php b/tests/QRCodeTest.php index 8c9bda5..5bc26d4 100644 --- a/tests/QRCodeTest.php +++ b/tests/QRCodeTest.php @@ -12,6 +12,7 @@ public function testQRCode(){ $margin = 0; $color = 'Ff0f0F,#000000'; $spec = 10; + $this->assertFileExists($icon); $str = QrCode::image($text, $pixel, $icon, $distinguish, $type, $margin, $color, $spec, array()); $this->assertTrue(is_array($str)); $text = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';