Skip to content

Commit

Permalink
Test the picture tag quirk.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 11, 2015
1 parent 0ef7704 commit 4008b33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/ActiveSync/test/Horde/ActiveSync/DeviceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public function testDeviceDetection()
$this->assertEquals(1, $device->getMinorVersion());
$this->assertEquals(Horde_ActiveSync_Device::TYPE_IPHONE, Horde_String::lower($device->deviceType));
$this->assertEquals(Horde_ActiveSync_Device::MULTIPLEX_NOTES, $device->multiplex);
$this->assertEquals(false, $device->hasQuirk(Horde_ActiveSync_Device::QUIRK_NEEDS_SUPPORTED_PICTURE_TAG));

$fixture = array(
'deviceType' => 'iPod',
Expand All @@ -40,6 +41,7 @@ public function testDeviceDetection()
$device = new Horde_ActiveSync_Device($state, $fixture);
$this->assertEquals(4, $device->getMajorVersion());
$this->assertEquals(2, $device->getMinorVersion());
$this->assertEquals(true, $device->hasQuirk(Horde_ActiveSync_Device::QUIRK_NEEDS_SUPPORTED_PICTURE_TAG));

$fixture = array(
'deviceType' => 'iPad',
Expand Down

0 comments on commit 4008b33

Please sign in to comment.