diff --git a/tests/Functional/Types/BigIntTypeTest.php b/tests/Functional/Types/BigIntTypeTest.php index 3c416c71eb..386a8e91ee 100644 --- a/tests/Functional/Types/BigIntTypeTest.php +++ b/tests/Functional/Types/BigIntTypeTest.php @@ -28,13 +28,13 @@ public function testSelectBigInt(string $sqlLiteral, int|string|null $expectedVa $this->connection->executeStatement(<<connection->convertToPHPValue( - $this->connection->fetchOne('SELECT my_integer from bigint_type_test'), + $this->connection->fetchOne('SELECT my_integer from bigint_type_test WHERE id = 42'), Types::BIGINT, ), ); @@ -68,13 +68,13 @@ public function testUnsignedBigIntOnMySQL(): void // Insert (2 ** 64) - 1 $this->connection->executeStatement(<<<'SQL' INSERT INTO bigint_type_test (id, my_integer) - VALUES (1, 0xFFFFFFFFFFFFFFFF) + VALUES (42, 0xFFFFFFFFFFFFFFFF) SQL); self::assertSame( '18446744073709551615', $this->connection->convertToPHPValue( - $this->connection->fetchOne('SELECT my_integer from bigint_type_test'), + $this->connection->fetchOne('SELECT my_integer from bigint_type_test WHERE id = 42'), Types::BIGINT, ), );