mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-28 02:57:57 +00:00
💯 coverage
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user