Browse Source

:wrench: GitHub actions action out

codemasher 5 years ago
parent
commit
289d58be9b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/Output/QRFpdfTest.php

+ 2 - 2
tests/Output/QRFpdfTest.php

@@ -79,10 +79,10 @@ class QRFpdfTest extends QROutputTestAbstract{
 	public function testRenderImage(string $type):void{
 		$this->options->outputType = $type;
 
-		$this::assertStringContainsString(
+		$this::assertSame(
 			// substr() to avoid CreationDate
 			substr(file_get_contents(__DIR__.'/samples/'.$type), 0, 2560),
-			(new QRCode($this->options))->render('test')
+			substr((new QRCode($this->options))->render('test'), 0, 2560)
 		);
 	}