Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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')
  • Loading branch information...
commit e1931c107feca436ca1304f672e2b3f0e340cbb4 1 parent 0f7b115
@chillu chillu authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/security/MemberTest.php
View
4 tests/security/MemberTest.php
@@ -300,8 +300,8 @@ function testIsPasswordExpired() {
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() {
Please sign in to comment.
Something went wrong with that request. Please try again.