codemasher 5 lat temu
rodzic
commit
28d116f4e4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tests/Data/QRMatrixTest.php

+ 1 - 1
tests/Data/QRMatrixTest.php

@@ -70,7 +70,7 @@ final class QRMatrixTest extends TestCase{
 	 * Tests if eccLevel() returns the current (given) ECC level
 	 */
 	public function testECC():void{
-		$this::assertSame(EccLevel::L, $this->matrix->eccLevel()->getOrdinal());
+		$this::assertSame(EccLevel::MODES[EccLevel::L], $this->matrix->eccLevel()->getOrdinal());
 	}
 
 	/**