Skip to content

Commit

Permalink
Fix test to reflect new assumptions about ios birthday handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Feb 16, 2020
1 parent b4999ce commit 41eabec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Horde/ActiveSync/DeviceTest.php
Expand Up @@ -209,7 +209,7 @@ public function testPoomContactsDate()
$date = new Horde_Date('1966-07-22T23:00:00.000Z');
$bday = $device->normalizePoomContactsDates($date);
$bday->setTimezone(date_default_timezone_get());
$this->assertEquals('1966-07-23', $bday->format('Y-m-d'));
$this->assertEquals('1966-07-22', $bday->format('Y-m-d'));

// Android
date_default_timezone_set('Pacific/Honolulu');
Expand Down Expand Up @@ -272,4 +272,4 @@ public function testSupported()
$this->assertEquals($device->supported, array('contacts' => array('one', 'two')));
}

}
}

0 comments on commit 41eabec

Please sign in to comment.