Ver Fonte

:wrench:

codemasher há 5 anos atrás
pai
commit
28d116f4e4
1 ficheiros alterados com 1 adições e 1 exclusões
  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());
 	}
 
 	/**