From 8425fac079f01dce56f6885c0307ab6591df8efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Mon, 21 Oct 2024 10:10:30 +0200 Subject: [PATCH] revert test changes --- tests/Functional/Types/BigIntTypeTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Functional/Types/BigIntTypeTest.php b/tests/Functional/Types/BigIntTypeTest.php index 3c416c71ebc..386a8e91eec 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, ), );