From 089a421ecec1c5c51b9811ff24ec0035d4e604c1 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 2 Jul 2019 18:11:05 +0200 Subject: RefreshWebcalJob: replace ugly Regex with standard php utils Signed-off-by: Georg Ehrke --- apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/dav/tests/unit/BackgroundJob') diff --git a/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php b/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php index b7cee2c884d..8e24fb1f638 100644 --- a/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php +++ b/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php @@ -231,8 +231,14 @@ class RefreshWebcalJobTest extends TestCase { public function runLocalURLDataProvider():array { return [ ['localhost/foo.bar'], + ['localHost/foo.bar'], + ['random-host/foo.bar'], ['[::1]/bla.blub'], + ['[::]/bla.blub'], ['192.168.0.1'], + ['172.16.42.1'], + ['[fdf8:f53b:82e4::53]/secret.ics'], + ['[fe80::200:5aee:feaa:20a2]/secret.ics'], ['10.0.0.1'], ['another-host.local'], ['service.localhost'], -- cgit v1.2.3