<?php
+use Sabre\VObject;
+
require_once 'Sabre/CalDAV/TestUtil.php';
require_once 'Sabre/DAV/Auth/MockBackend.php';
require_once 'Sabre/HTTP/ResponseMock.php';
'Content-Type' => 'text/calendar',
), $s->httpResponse->headers);
- $obj = Sabre_VObject_Reader::read($s->httpResponse->body);
+ $obj = VObject\Reader::read($s->httpResponse->body);
$this->assertEquals(5,count($obj->children()));
$this->assertEquals(1,count($obj->VERSION));
'Content-Type' => 'text/calendar',
), $s->httpResponse->headers);
- $obj = Sabre_VObject_Reader::read($s->httpResponse->body);
+ $obj = VObject\Reader::read($s->httpResponse->body);
$this->assertEquals(5,count($obj->children()));
$this->assertEquals(1,count($obj->VERSION));
'Content-Type' => 'text/calendar',
), $s->httpResponse->headers);
- $obj = Sabre_VObject_Reader::read($s->httpResponse->body);
+ $obj = VObject\Reader::read($s->httpResponse->body);
$this->assertEquals(5,count($obj->children()));
$this->assertEquals(1,count($obj->VERSION));