mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
5d67fe14ad
commit
02d4c34d6f
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user