Browse Source

:fire: ok, what is going on here, GH?

codemasher 5 years ago
parent
commit
53e925952f
1 changed files with 7 additions and 5 deletions
  1. 7 5
      tests/Output/QRFpdfTest.php

+ 7 - 5
tests/Output/QRFpdfTest.php

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