Andrew Ruthven
7cebd30eb5
Fix test result
2022-02-18 23:11:50 +13:00
Andrew Ruthven
5f71ccae8b
Limit results for get_include_subcollections
...
Closes #231 .
2022-02-18 23:11:50 +13:00
Andrew Ruthven
fbb6b34508
The knock on effects of making a new event for testing...
2021-09-19 02:33:32 +12:00
Florian Schlichting
8239519ca3
Normalize "100 Continue" headers
...
apache2 in bullseye has stopped sending these for some reason, but we
want to be able to test in both newer and older environments
2021-02-03 00:42:58 +08:00
Florian Schlichting
1301b2c494
Apache 2.4.35 stops sending Content-Type headers for 204 No Content responses
...
Normalize results so tests work with newer and older versions
This change is similar to e565cc0a5e4af0330fe5a1ab6f2476be7fb10df4 and
following
From the Apache 2.4.35 changelog:
*) http: Enforce consistently no response body with both 204 and 304
statuses. [Yann Ylavic]
2018-12-22 00:12:54 +01:00
Andrew Ruthven
8c01c83e4b
Ignore the id in our test comparision
...
Gitlab CI has a different collection_id for US Holidays than running
the tests locally. We don't actually care about ID for this test,
just the fact that the binding is present is enough for us.
2018-11-30 15:02:53 +13:00
Andrew Ruthven
9d2969982c
Exclude the ctags from the test
...
We don't really care about the ctag in this test, and the ctag
for user1 will change from test run to test run.
2018-11-29 13:24:25 +13:00
Andrew Ruthven
12565cb6bd
Make the tests more interesting by using ctag
2018-11-12 20:14:40 +13:00
Andrew Ruthven
deb743fdcf
Add tests for: Fix Fatal PHP Error if Depth is more than 1.
...
I'm not 100% this is working as intended, but it does kind
of make sense.
2018-11-12 20:00:20 +13:00
Andrew Ruthven
a394c73cc4
This looks like an acceptable change
2018-11-12 18:31:28 +13:00
Andrew Ruthven
95ad5ec373
Allow database dumps to be restored in test suite.
...
Primary fix is the search_path to ensure that the collection table
is in the search path so that the copy into dav_binding (and
possibly others) will work.
I also suppressed the warning about plpgsql.
2018-11-12 18:00:30 +13:00
Florian Schlichting
44ff0b3286
update tests for changed etags, unstable REV/UID or sort order, improved property parsing
...
Changed line wrapping in awl is one major reason for etag changes.
With this commit, all tests in regression-suite, binding and carddav
pass for me, using the configuration outlined in README.regression_tests
2017-09-21 00:39:30 +02:00
Florian Schlichting
4ef5730bef
Restore-Database.result: error setting plpgsql COMMENT and lots more setval in dump
2017-01-01 20:46:36 +01:00
Florian Schlichting
fa2517b983
Update other testsuites for contenttype, PROPPATCH and 204 No Content changes
2017-01-01 20:46:31 +01:00
Andrew McMillan
74e690103b
Reorder results
2013-10-15 23:46:25 +13:00
Andrew McMillan
54222e32a5
Improve successful result checking.
2013-10-15 23:46:06 +13:00
Andrew McMillan
0f4cb2a8a8
Result of character escape fixing.
2013-10-15 23:45:19 +13:00
Andrew McMillan
48d22782f7
Correct regression host name.
2013-07-15 13:11:08 +12:00
Andrew McMillan
1f5d8ddcac
Updated & new regression tests for various XML processing changes.
2012-05-20 21:50:30 +12:00
Andrew McMillan
6730055288
Further tests for BIND, particular transitive BINDs.
2012-05-14 23:27:04 +12:00
Andrew McMillan
483683d3f6
Result ordering and other trivial regression test changes.
2012-05-14 23:26:12 +12:00
Andrew McMillan
0d2ef3475d
Change the collection ids used in regression testing - modified results.
2012-05-05 16:57:05 +12:00
Andrew McMillan
677513b49d
Current regression test results.
2012-05-03 19:12:42 +12:00
Andrew McMillan
7c15051f84
Further fixes to WebDAV synchronization.
...
This should be fully reliable now and also cleans out all sync
changes more than one week old. update-database is needed to pull
the new function.
2012-04-17 15:44:09 +12:00
Andrew McMillan
8158eaa1ea
Changes to the way PROPPATCH returns errors.
...
This is cleaner and perhaps a little more informative.
2012-04-16 12:57:16 +12:00
Andrew McMillan
beecb1674d
Test result changes for previous commit.
2012-04-16 12:56:08 +12:00
Andrew McMillan
739d024305
Further regression test results changes from the caldav-proxy header.
2012-03-22 14:56:02 +13:00
Andrew McMillan
0153070bea
Updated test results.
2012-03-12 13:19:41 +13:00
Andrew McMillan
d226395258
Minor updates to tests.
2011-12-14 22:19:16 +13:00
Andrew McMillan
71b90d367a
Handle bound resources correctly in sync-collection report.
2011-12-14 22:18:24 +13:00
Andrew McMillan
b4e50d8803
One more sync-action in prior tests.
2011-12-03 14:22:09 +13:00
Andrew McMillan
6483b562ca
Now returning a slightly informative error message.
2011-12-03 14:21:34 +13:00
Andrew McMillan
8ba55217df
More fixes to CalDAV Scheduling
...
- Handle REPLY from ATTENDEE accepting/declining meeting.
- Handle processing on ORGANIZER further changing meeting.
2011-10-24 18:38:48 +13:00
Andrew McMillan
fbd08e42c6
Fixes to calendar_auto_schedule.
...
- Update the SCHEDULE-STATUS parameter correctly when writing the event
to the organiser.
- Don't include ETag in PUT response when scheduling actions occur.
- Write scheduling resources to attendee calendars even when this is
an event modification.
2011-10-20 12:19:08 +13:00
Andrew McMillan
5b921b3884
Test for 'deflate' content encoding.
2011-10-07 07:34:49 +02:00
Andrew McMillan
d1f0a1cc76
New & variously improved regression tests.
2011-10-06 11:10:02 +02:00
Andrew McMillan
323e6a3011
The final revision of the sync-collection report requires the token to be a URI.
...
We'll use a 'data' URI (like CalendarServer does) to jump through this
arbitrary hoop.
2011-10-03 16:29:11 +02:00
Andrew McMillan
5f4b40a643
One more fix for timezone database changes.
2011-09-18 17:03:37 +12:00
Andrew McMillan
4e5b824302
Make PUT processing use olson_from_tzstring().
2011-09-13 13:12:35 +12:00
Andrew McMillan
aa05688e4e
Test for IsCollection() before IsBinding() when we are deleting.
2011-09-12 10:52:16 +12:00
Andrew McMillan
4f01fe0a17
Add items to attendee's calendars as well as to their inboxes on PUT.
2011-09-10 00:17:27 +12:00
Andrew McMillan
7a37beff80
Fix PROPPATCH behaviour on bound resources.
...
It is OK to modify dead properties on a bound resource as long as you
have permission on the folder containing the binding. For active
properties we have special logic for modifying the displayname but all
others are refused.
2011-09-08 08:42:18 +12:00
Andrew McMillan
fa48854fbe
Changes to the number of rows in the test DB.
2011-09-07 23:54:38 +12:00
Andrew McMillan
27deec06ac
Test results including calendar-auto-schedule header as default.
2011-08-24 20:39:58 +12:00
Andrew McMillan
aaa0908b1a
Add new import test with UTF-8 and missing UID.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 21:35:49 +12:00
Andrew McMillan
2b072fda13
Additional collection during regression testing.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-22 15:42:05 +13:00
Andrew McMillan
076cf0f7ee
Changes to recurrence-id order in test.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-16 16:45:48 +13:00
Andrew McMillan
e28f200c5f
Only add a recurrence-id if this is actually a repeating instance.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 11:55:35 +13:00
Andrew McMillan
23b8b84003
Changes due to updated handling of floating times
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:30:23 +13:00
Andrew McMillan
655e3bfdaf
Updated dav_id's due to more events in test database.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:26:12 +13:00