소스 검색

:100: coverage

smiley 8 년 전
부모
커밋
4cd0746fda
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      tests/QRCodeTest.php

+ 6 - 0
tests/QRCodeTest.php

@@ -93,4 +93,10 @@ class QRCodeTest extends QRTestAbstract{
 		$this->qrcode->getMatrix('');
 	}
 
+	public function testImageTransparencyBGDefault(){
+		$this->qrcode = $this->reflection->newInstanceArgs([new QROptions(['imageTransparencyBG' => 'foo'])]);
+
+		$this->assertSame([255,255,255], $this->getProperty('options')->getValue($this->qrcode)->imageTransparencyBG);
+	}
+
 }