Browse Source

:fire_engine: test fix

codemasher 5 years ago
parent
commit
6241c2d90b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/Data/QRMatrixTest.php

+ 1 - 1
tests/Data/QRMatrixTest.php

@@ -169,7 +169,7 @@ final class QRMatrixTest extends TestCase{
 			->setAlignmentPattern()
 		;
 
-		$alignmentPattern = Version::ALIGNMENT_PATTERN[$version];
+		$alignmentPattern = (new Version($version))->getAlignmentPattern();
 
 		foreach($alignmentPattern as $py){
 			foreach($alignmentPattern as $px){