Explorar el Código

added QRImage instance test without options

smiley hace 10 años
padre
commit
662f3b359f
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      tests/Output/ImageTest.php

+ 4 - 0
tests/Output/ImageTest.php

@@ -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';