mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-01 13:49:28 +00:00
regression: update 0555-iPhone-REPORT for the open-ended time-range fix
Test 0555 issues an open-ended calendar-query (<time-range start="20090827T120000Z"/>, no end). Its expected result had baked in the previous buggy behaviour: two events dated 2011-10 (0544-gzip-PUT.ics and 0545-deflate-PUT.ics) were absent because they fall beyond the former expand_range_end cap of start + 730 days (2011-08-27), even though an absent end means +infinity (RFC 4791 §9.9) and both events match the range. With the fix they are correctly returned, so the fixture now includes both responses. This test thus doubles as the regression test for the fix. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
bf0f92842c
commit
af60b8a290
@ -2,8 +2,8 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
||||
ETag: "6ad84d1cc9770bcf7085b8316a7b7791"
|
||||
Content-Length: 614
|
||||
ETag: "07e5733ac3d62135fd59bf6e733f174f"
|
||||
Content-Length: 1103
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -28,5 +28,25 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/home/0544-gzip-PUT.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"6ddd18264a9d40c1c9d37a005eeb7e4f"</getetag>
|
||||
<resourcetype/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/home/0545-deflate-PUT.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"4a3aa58a3e11487e87d87024465d4182"</getetag>
|
||||
<resourcetype/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
</multistatus>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user