:octocat: output debug matrix before assertions

This commit is contained in:
smiley
2023-01-28 16:59:32 +01:00
parent eeb7169d68
commit de77beb877
2 changed files with 23 additions and 20 deletions
+2 -2
View File
@@ -55,9 +55,9 @@ class QRDataTest extends TestCase{
$output = new QRGdImage($options, $matrix);
$decodeResult = (new QRCode($options))->readFromBlob($output->dump());
$this::assertSame($decodeResult->data, 'https://www.youtube.com/watch?v=DLzxrzFCyOs&t=43s');
QRMatrixTest::debugMatrix($matrix);
$this::assertSame($decodeResult->data, 'https://www.youtube.com/watch?v=DLzxrzFCyOs&t=43s');
}
}