From 6b796258d413f00e498ce7f80f73a9f6c061f29c Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sat, 30 Mar 2024 23:40:33 +0100 Subject: Updated 5 files, added 2 files, deleted 495 files and renamed 7 files (automated) --- .../vendor/om/icalparser/tests/event.dates.phpt | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 includes/composer/vendor/om/icalparser/tests/event.dates.phpt (limited to 'includes/composer/vendor/om/icalparser/tests/event.dates.phpt') diff --git a/includes/composer/vendor/om/icalparser/tests/event.dates.phpt b/includes/composer/vendor/om/icalparser/tests/event.dates.phpt deleted file mode 100644 index 6af95ae..0000000 --- a/includes/composer/vendor/om/icalparser/tests/event.dates.phpt +++ /dev/null @@ -1,25 +0,0 @@ - - */ - -use om\IcalParser; -use Tester\Assert; -use function tests\test; - -require_once __DIR__ . '/bootstrap.php'; - -test('Events with wrong dates', function () { - $cal = new IcalParser(); - $cal->parseFile(__DIR__ . '/cal/wrong_dates.ics'); - $events = $cal->getEvents()->sorted(); - Assert::same('29.9.2014 00:00:00', $events[1]['DTSTART']->format('j.n.Y H:i:s')); - Assert::same(null, $events[1]['DTEND']); - - Assert::same(null, $events[0]['DTSTART']); - Assert::same('30.9.2014 00:00:00', $events[0]['DTEND']->format('j.n.Y H:i:s')); -}); - -- cgit