mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 09:58:49 +00:00
Second part of refactoring; should be runnable again, yet not thoroughly tested
This commit is contained in:
parent
b8234a1cb8
commit
6186153f68
88 changed files with 2135 additions and 1186 deletions
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Sabre\VObject;
|
||||
|
||||
/**
|
||||
* This unittest is created to check if queries for time-range include the start timestamp or not
|
||||
*
|
||||
|
@ -82,7 +84,7 @@ END:VCALENDAR
|
|||
);
|
||||
$body = str_replace(' ','',$body);
|
||||
|
||||
$vObject = Sabre_VObject_Reader::read($body);
|
||||
$vObject = VObject\Reader::read($body);
|
||||
|
||||
// We expect 1 event
|
||||
$this->assertEquals(1, count($vObject->VEVENT), 'We got 0 events instead of 1. Output: ' . $body);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue