mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Updated MemberTest to accept new default date formats caused by Zend/CLDR upgrade (from 'MM/dd/yyyy' to a less ambiguous 'MMM d, y')
This commit is contained in:
parent
0f7b115d33
commit
e1931c107f
@ -300,8 +300,8 @@ class MemberTest extends FunctionalTest {
|
||||
|
||||
function testMemberWithNoDateFormatFallsbackToGlobalLocaleDefaultFormat() {
|
||||
$member = $this->objFromFixture('Member', 'noformatmember');
|
||||
$this->assertEquals('MM/dd/yyyy', $member->DateFormat);
|
||||
$this->assertEquals('hh:mm a', $member->TimeFormat);
|
||||
$this->assertEquals('MMM d, y', $member->DateFormat);
|
||||
$this->assertEquals('h:mm:ss a', $member->TimeFormat);
|
||||
}
|
||||
|
||||
function testMemberWithNoDateFormatFallsbackToTheirLocaleDefaultFormat() {
|
||||
|
Loading…
Reference in New Issue
Block a user