From 289d58be9b2df9802ec282aac1b97c7b217347b6 Mon Sep 17 00:00:00 2001 From: codemasher Date: Wed, 3 Jun 2020 22:10:51 +0200 Subject: [PATCH] :wrench: GitHub actions action out --- tests/Output/QRFpdfTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Output/QRFpdfTest.php b/tests/Output/QRFpdfTest.php index 029c62cc7..35e0bffba 100644 --- a/tests/Output/QRFpdfTest.php +++ b/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) ); }