Commit 38aad74f authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge pull request #399 from deeky666/fix-data-access-test

Fix WriteTest DateTime assertion for different platform formats
parents 95b196f0 600cfd6f
...@@ -203,7 +203,7 @@ class DataAccessTest extends \Doctrine\Tests\DbalFunctionalTestCase ...@@ -203,7 +203,7 @@ class DataAccessTest extends \Doctrine\Tests\DbalFunctionalTestCase
$row = array_change_key_case($row, \CASE_LOWER); $row = array_change_key_case($row, \CASE_LOWER);
$this->assertEquals(1, $row['test_int']); $this->assertEquals(1, $row['test_int']);
$this->assertEquals($datetimeString, $row['test_datetime']); $this->assertStringStartsWith($datetimeString, $row['test_datetime']);
} }
/** /**
......
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