Skip to content

Commit

Permalink
Merge branch '2.17.x' into 3.0.x
Browse files Browse the repository at this point in the history
* 2.17.x:
  Don't assert that BIGINTs are stored as strings (#10980)
  • Loading branch information
derrabus committed Oct 10, 2023
2 parents 2aaec3a + 0e3489b commit 906e91c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3634Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,24 +65,24 @@ public function testSavesVeryLargeIntegerAutoGeneratedValue(): void
self::assertSame($veryLargeId, $entity->id);
}

public function testSavesIntegerAutoGeneratedValueAsString(): void
public function testSavesIntegerAutoGeneratedValue(): void
{
$entity = new DDC3634Entity();

$this->_em->persist($entity);
$this->_em->flush();

self::assertIsString($entity->id);
self::assertNotNull($entity->id);
}

public function testSavesIntegerAutoGeneratedValueAsStringWithJoinedInheritance(): void
public function testSavesIntegerAutoGeneratedValueWithJoinedInheritance(): void
{
$entity = new DDC3634JTIChildEntity();

$this->_em->persist($entity);
$this->_em->flush();

self::assertIsString($entity->id);
self::assertNotNull($entity->id);
}
}

Expand Down

0 comments on commit 906e91c

Please sign in to comment.