Commit 155f5d75 authored by Marco Pivetta's avatar Marco Pivetta

#869 - DBAL-1293 - Making sure `Type::getType('dateinterval')` retrieves a...

#869 - DBAL-1293 - Making sure `Type::getType('dateinterval')` retrieves a `DateIntervalType` instance
parent 8bfa9bdc
......@@ -24,6 +24,8 @@ class DateIntervalTest extends \Doctrine\Tests\DbalTestCase
{
$this->platform = new MockPlatform();
$this->type = Type::getType('dateinterval');
$this->assertInstanceOf('Doctrine\DBAL\Types\DateIntervalType', $this->type);
}
public function testDateIntervalConvertsToDatabaseValue()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment