Skip to content

Commit 4cd0746

Browse files
committed
💯 coverage
1 parent be0a869 commit 4cd0746

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/QRCodeTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,10 @@ public function testGetMatrixException(){
9393
$this->qrcode->getMatrix('');
9494
}
9595

96+
public function testImageTransparencyBGDefault(){
97+
$this->qrcode = $this->reflection->newInstanceArgs([new QROptions(['imageTransparencyBG' => 'foo'])]);
98+
99+
$this->assertSame([255,255,255], $this->getProperty('options')->getValue($this->qrcode)->imageTransparencyBG);
100+
}
101+
96102
}

0 commit comments

Comments
 (0)