From 53e925952fc4734db6f77f33eb47102fd9e05369 Mon Sep 17 00:00:00 2001 From: codemasher Date: Wed, 3 Jun 2020 22:25:45 +0200 Subject: [PATCH] :fire: ok, what is going on here, GH? --- tests/Output/QRFpdfTest.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/Output/QRFpdfTest.php b/tests/Output/QRFpdfTest.php index 35e0bffba..c3bd06898 100644 --- a/tests/Output/QRFpdfTest.php +++ b/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); } }