Skip to content

Commit

Permalink
doctrine#869 - DBAL-1293 - Making sure `Type::getType('dateinterval')…
Browse files Browse the repository at this point in the history
…` retrieves a `DateIntervalType` instance
  • Loading branch information
Ocramius committed Sep 6, 2015
1 parent 8bfa9bd commit 155f5d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Doctrine/Tests/DBAL/Types/DateIntervalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ protected function setUp()
{
$this->platform = new MockPlatform();
$this->type = Type::getType('dateinterval');

$this->assertInstanceOf('Doctrine\DBAL\Types\DateIntervalType', $this->type);
}

public function testDateIntervalConvertsToDatabaseValue()
Expand Down

0 comments on commit 155f5d7

Please sign in to comment.