mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-09-05 23:18:20 +00:00
🔧 GitHub actions action out
This commit is contained in:
@@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user