summaryrefslogtreecommitdiff
path: root/plugins/libcalendaring/tests/libvcalendar.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/libcalendaring/tests/libvcalendar.php')
-rw-r--r--plugins/libcalendaring/tests/libvcalendar.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/libcalendaring/tests/libvcalendar.php b/plugins/libcalendaring/tests/libvcalendar.php
index a670d0c..4ea9ede 100644
--- a/plugins/libcalendaring/tests/libvcalendar.php
+++ b/plugins/libcalendaring/tests/libvcalendar.php
@@ -519,8 +519,10 @@ class libvcalendar_test extends PHPUnit_Framework_TestCase
$this->assertEquals(false, $vtz);
// DateTimezone as input data
- $vtz = libvcalendar::get_vtimezone(new DateTimezone('Europe/Istanbul'));
+ $vtz = libvcalendar::get_vtimezone(new DateTimezone('Pacific/Chatham'));
$this->assertInstanceOf('\Sabre\VObject\Component', $vtz);
+ $this->assertContains('TZOFFSETFROM:+1245', $vtz->serialize());
+ $this->assertContains('TZOFFSETTO:+1345', $vtz->serialize());
}
function get_attachment_data($id, $event)