codemasher 5 роки тому
батько
коміт
3d49ab8397
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      tests/QRCodeTest.php

+ 1 - 1
tests/QRCodeTest.php

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