Skip to content

Commit

Permalink
Add test for full coverage of UuidType
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsey committed Nov 8, 2021
1 parent 4bddc32 commit 5f5ced3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/UuidTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,14 @@ public function testRequiresSQLCommentHint()
$this->assertTrue($this->getType()->requiresSQLCommentHint($this->getPlatform()));
}

/**
* @covers \Ramsey\Uuid\Doctrine\UuidType::getMappedDatabaseTypes
*/
public function testGetMappedDatabaseTypes()
{
$this->assertSame(['uuid'], $this->getType()->getMappedDatabaseTypes($this->getPlatformMock()));
}

/**
* @return AbstractPlatform & MockInterface
*/
Expand Down

0 comments on commit 5f5ced3

Please sign in to comment.