mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-08-11 22:41:47 +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 unittests is created to find out why certain events show up twice.
|
||||
*
|
||||
|
@ -85,7 +87,7 @@ END:VCALENDAR
|
|||
);
|
||||
$body = str_replace(' ','',$body);
|
||||
|
||||
$vObject = Sabre_VObject_Reader::read($body);
|
||||
$vObject = VObject\Reader::read($body);
|
||||
|
||||
// We only expect 3 events
|
||||
$this->assertEquals(3, count($vObject->VEVENT),'We got 6 events instead of 3. Output: ' . $body);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue