Ver Fonte

make sure to cover $htmlOmitEndTag

smiley há 10 anos atrás
pai
commit
158999f9ad
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      tests/Output/StringTest.php

+ 1 - 0
tests/Output/StringTest.php

@@ -44,6 +44,7 @@ class StringTest extends \PHPUnit_Framework_TestCase{
 	 */
 	public function testStringOutput($data, $type, $expected){
 		$this->options->type = $type;
+		$this->options->htmlOmitEndTag = false;
 		$this->assertEquals($expected, (new QRCode($data, new QRString($this->options)))->output());
 	}