mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-31 04:28:03 +00:00
added QRImage instance test without options
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user