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:
Ingo Schommer 2011-05-31 07:55:12 +12:00
parent 0f7b115d33
commit e1931c107f

View File

@ -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() {