codemasher 6 лет назад
Родитель
Сommit
83a9613e56
1 измененных файлов с 13 добавлено и 0 удалено
  1. 13 0
      tests/Output/QRImageTest.php

+ 13 - 0
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
+	}
+
 }