Commit 841b9c08 authored by Valentinas Bartusevičius's avatar Valentinas Bartusevičius

merge

parents c1311c61 05891f22
...@@ -20,6 +20,7 @@ class DateIntervalTest extends \Doctrine\Tests\DbalTestCase ...@@ -20,6 +20,7 @@ class DateIntervalTest extends \Doctrine\Tests\DbalTestCase
public function testDateIntervalConvertsToDatabaseValue() public function testDateIntervalConvertsToDatabaseValue()
{ {
$interval = new \DateInterval('P2Y1DT1H2M3S'); $interval = new \DateInterval('P2Y1DT1H2M3S');
$expected = '0002-00-01 01:02:03'; $expected = '0002-00-01 01:02:03';
$actual = $this->_type->convertToDatabaseValue($interval, $this->_platform); $actual = $this->_type->convertToDatabaseValue($interval, $this->_platform);
......
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