From 83a9613e5676f9175c3fb053e5719b8997195981 Mon Sep 17 00:00:00 2001 From: codemasher Date: Tue, 30 Jul 2019 15:37:35 +0200 Subject: [PATCH] :octocat: +coverage --- tests/Output/QRImageTest.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/Output/QRImageTest.php b/tests/Output/QRImageTest.php index 5e0493f63..bc2d9685b 100644 --- a/tests/Output/QRImageTest.php +++ b/tests/Output/QRImageTest.php @@ -45,4 +45,17 @@ class QRImageTest extends QROutputTestAbstract{ $this->assertSame($img, file_get_contents($this::cachefile.$type)); } + public function testSetModuleValues(){ + + $this->options->moduleValues = [ + // data + 1024 => [0, 0, 0], + 4 => [255, 255, 255], + ]; + + $this->setOutputInterface()->dump(); + + $this->assertTrue(true); // tricking the code coverage + } + }