|
@@ -12,6 +12,7 @@
|
|
|
|
|
|
|
|
namespace chillerlan\QRCodeTest\Output;
|
|
namespace chillerlan\QRCodeTest\Output;
|
|
|
|
|
|
|
|
|
|
+use Imagick;
|
|
|
use chillerlan\QRCode\{QRCode, QROptions};
|
|
use chillerlan\QRCode\{QRCode, QROptions};
|
|
|
use chillerlan\QRCode\Output\{QROutputInterface, QRImagick};
|
|
use chillerlan\QRCode\Output\{QROutputInterface, QRImagick};
|
|
|
|
|
|
|
@@ -69,4 +70,12 @@ class QRImagickTest extends QROutputTestAbstract{
|
|
|
$this::assertTrue(true); // tricking the code coverage
|
|
$this::assertTrue(true); // tricking the code coverage
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public function testOutputGetResource():void{
|
|
|
|
|
+ $this->options->returnResource = true;
|
|
|
|
|
+ $this->outputInterface = $this->getOutputInterface($this->options);
|
|
|
|
|
+
|
|
|
|
|
+ $this::assertInstanceOf(Imagick::class, $this->outputInterface->dump());
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
}
|
|
}
|