summaryrefslogtreecommitdiff
path: root/includes/composer/vendor/om/icalparser/tests/event.url.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'includes/composer/vendor/om/icalparser/tests/event.url.phpt')
-rw-r--r--includes/composer/vendor/om/icalparser/tests/event.url.phpt22
1 files changed, 0 insertions, 22 deletions
diff --git a/includes/composer/vendor/om/icalparser/tests/event.url.phpt b/includes/composer/vendor/om/icalparser/tests/event.url.phpt
deleted file mode 100644
index b39d3e3..0000000
--- a/includes/composer/vendor/om/icalparser/tests/event.url.phpt
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-/**
- * Copyright (c) 2004-2022 Roman Ožana (https://ozana.cz)
- *
- * @license BSD-3-Clause
- * @author Roman Ožana <roman@ozana.cz>
- */
-
-use om\IcalParser;
-use Tester\Assert;
-use function tests\test;
-
-require_once __DIR__ . '/bootstrap.php';
-
-test('URL parsing check', function () {
- $cal = new IcalParser();
- $cal->parseFile(__DIR__ . '/cal/url.ics');
- $first = $cal->getEvents()->getIterator()->current();
-
- Assert::hasKey('URL', $first);
- Assert::same($first['URL'], urlencode('https://github.com/OzzyCzech/icalparser/'));
-});