Remove faulty test

Sabre-Vobject 3.5 is more forgiving than 3.3 for which the test was created
This commit is contained in:
Aleksander Machniak 2019-09-29 09:44:26 +02:00
parent 4082f72a54
commit 832a16ddf3
2 changed files with 0 additions and 22 deletions

View file

@ -102,14 +102,6 @@ class libvcalendar_test extends PHPUnit_Framework_TestCase
$this->assertFalse(array_key_exists('changed', $event), "No changed date field");
}
function test_invalid_vevent()
{
$this->setExpectedException('\Sabre\VObject\ParseException');
$ical = new libvcalendar();
$events = $ical->import_from_file(__DIR__ . '/resources/invalid-event.ics', 'UTF-8', true);
}
/**
* Test some extended ical properties such as attendees, recurrence rules, alarms and attachments
*/

View file

@ -1,14 +0,0 @@
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Apple Inc.//iCal 5.0.3//EN
CALSCALE:GREGORIAN
BEGIN:VEVENT
CREATED:20130917T000000Z
LAST-MODIFIED:20130755
UID:C968B885-08FB-40E5-B89E-6FA05F26AACC
TRANSP:TRANSPARENT
SUMMARY:Event with no end date nor duration
DTSTART;VALUE=DATE-TIME:20131001T120000Z
SEQUENCE:2
END:VEVENT
END:VCALENDAR