summaryrefslogtreecommitdiff
path: root/plugins/libcalendaring/tests/libvcalendar.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-01-22 17:17:33 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2015-01-22 17:17:33 (GMT)
commit7c565bff0cb64349ace42b021934ad4ee335b721 (patch)
tree6484063e600d0a24f1a4a3d9acea088e8cfb4181 /plugins/libcalendaring/tests/libvcalendar.php
parent23e4d1b25aa0cbcf72bde36eda4340e0623fab85 (diff)
downloadroundcubemail-plugins-kolab-7c565bff0cb64349ace42b021934ad4ee335b721.tar.gz
Fix typo in function name (parse_alarm_value)
Diffstat (limited to 'plugins/libcalendaring/tests/libvcalendar.php')
-rw-r--r--plugins/libcalendaring/tests/libvcalendar.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/libcalendaring/tests/libvcalendar.php b/plugins/libcalendaring/tests/libvcalendar.php
index 81b2120..9e2f03b 100644
--- a/plugins/libcalendaring/tests/libvcalendar.php
+++ b/plugins/libcalendaring/tests/libvcalendar.php
@@ -177,7 +177,7 @@ class libvcalendar_test extends PHPUnit_Framework_TestCase
$event = $events[0];
$this->assertEquals('-12H:DISPLAY', $event['alarms'], "Serialized alarms string");
- $alarm = libcalendaring::parse_alaram_value($event['alarms']);
+ $alarm = libcalendaring::parse_alarm_value($event['alarms']);
$this->assertEquals('12', $alarm[0], "Alarm value");
$this->assertEquals('-H', $alarm[1], "Alarm unit");
@@ -189,7 +189,7 @@ class libvcalendar_test extends PHPUnit_Framework_TestCase
$event = $events[0];
$this->assertEquals('-30M:DISPLAY', $event['alarms'], "Stripped alarm string");
- $alarm = libcalendaring::parse_alaram_value($event['alarms']);
+ $alarm = libcalendaring::parse_alarm_value($event['alarms']);
$this->assertEquals('30', $alarm[0], "Alarm value");
$this->assertEquals('-M', $alarm[1], "Alarm unit");
$this->assertEquals('-30M', $alarm[2], "Alarm string");
@@ -242,7 +242,7 @@ class libvcalendar_test extends PHPUnit_Framework_TestCase
// alarms
$this->assertEquals('-45M:AUDIO', $event['alarms'], "Relative alarm string");
- $alarm = libcalendaring::parse_alaram_value($event['alarms']);
+ $alarm = libcalendaring::parse_alarm_value($event['alarms']);
$this->assertEquals('45', $alarm[0], "Alarm value");
$this->assertEquals('-M', $alarm[1], "Alarm unit");