<?php
+use Sabre\VObject;
+
/**
* This unittest is created to find out why an overwritten DAILY event has wrong DTSTART, DTEND, SUMMARY and RECURRENCEID
*
);
$body = str_replace(' ','',$body);
- $vObject = Sabre_VObject_Reader::read($body);
+ $vObject = VObject\Reader::read($body);
$this->assertEquals(2, count($vObject->VEVENT));
$matching = false;
foreach ($vObject->VEVENT as $vevent) {
- /** @var $vevent Sabre_VObject_Component_VEvent */
+ /** @var $vevent Sabre\VObject\Component\VEvent */
foreach ($vevent->children as $child) {
- /** @var $child Sabre_VObject_Property */
+ /** @var $child Sabre\VObject\Property */
if (isset($expectedEvent[$child->name])) {
if ($expectedEvent[$child->name] != $child->value) {