added QRImage instance test without options

This commit is contained in:
smiley
2016-02-09 01:04:41 +01:00
parent 9c66169b8b
commit 662f3b359f
+4
View File
@@ -37,6 +37,10 @@ class ImageTest extends \PHPUnit_Framework_TestCase{
$this->assertEquals(QRCode::OUTPUT_IMAGE_PNG, $this->options->type);
$this->assertEquals(true, $this->options->base64);
}
public function testImageInstance(){
$this->assertInstanceOf(QRImage::class, new QRImage);
}
public function testImageInstanceWithOptionsOverride(){
$this->options->type = 'foobar';