MINOR: Fixed test to check for correct format of datetime value.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@79320 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2009-06-16 03:21:13 +00:00
parent 5d67fe14ad
commit 02d4c34d6f

View File

@ -734,7 +734,7 @@ class DataObjectTest extends SapphireTest {
$obj = DataObject::get_by_id('DataObjectTest_Fixture', $obj->ID);
$this->assertEquals('1988-01-02', $obj->DateField);
$this->assertEquals('1988-03-04 06:30', $obj->DatetimeField);
$this->assertEquals('1988-03-04 06:30:00', $obj->DatetimeField);
}
}