X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=dav%2FSabreDAV%2Ftests%2FSabre%2FCalDAV%2FIssue166Test.php;fp=dav%2FSabreDAV%2Ftests%2FSabre%2FCalDAV%2FIssue166Test.php;h=3a61663ec6c16852e530691392b646dbd248111c;hb=7115197a33ad9141c749a83c454a2f85d9c1290a;hp=0000000000000000000000000000000000000000;hpb=45cc9885fca461335b3e6a10ee46a019c6f75b77;p=friendica-addons.git diff --git a/dav/SabreDAV/tests/Sabre/CalDAV/Issue166Test.php b/dav/SabreDAV/tests/Sabre/CalDAV/Issue166Test.php new file mode 100644 index 00000000..3a61663e --- /dev/null +++ b/dav/SabreDAV/tests/Sabre/CalDAV/Issue166Test.php @@ -0,0 +1,59 @@ + 'VCALENDAR', + 'comp-filters' => array( + array( + 'name' => 'VEVENT', + 'comp-filters' => array(), + 'prop-filters' => array(), + 'is-not-defined' => false, + 'time-range' => array( + 'start' => new DateTime('2011-12-01'), + 'end' => new DateTime('2012-02-01'), + ), + ), + ), + 'prop-filters' => array(), + 'is-not-defined' => false, + 'time-range' => null, + ); + $input = Sabre_VObject_Reader::read($input); + $this->assertTrue($validator->validate($input,$filters)); + + } + +}