From: Michael Orlitzky Date: Sun, 5 Mar 2017 00:30:08 +0000 (-0500) Subject: Update AgenDAV fixtures for the v2.1.0 schema. X-Git-Tag: 0.0.3~14 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=80199942f91013b48ec65bd89b9890c07ff973f3;p=mailshears.git Update AgenDAV fixtures for the v2.1.0 schema. --- diff --git a/test/sql/agendav-fixtures.sql b/test/sql/agendav-fixtures.sql index 780e062..49bed6a 100644 --- a/test/sql/agendav-fixtures.sql +++ b/test/sql/agendav-fixtures.sql @@ -1,9 +1,17 @@ /* Add an AgenDAV record for one user only. */ INSERT INTO prefs (username, options) VALUES ('adam@example.net', 'herp'); -INSERT INTO shared (user_from, user_which, calendar) - VALUES ('adam@example.net', 'beth@example.net', 'derp'); +INSERT INTO shares (owner, calendar, with, options, rw) + VALUES ('/caldav.php/adam%40example.net/', + '/caldav.php/adam%40example.net/calendar-default', + '/beth%40example.net/', + 'a:0:{}', + 0); /* Just kidding, here's another one! */ INSERT INTO prefs (username, options) VALUES ('booger@example.com', 'herp'); -INSERT INTO shared (user_from, user_which, calendar) - VALUES ('booger@example.com', 'carol@example.net', 'derp'); +INSERT INTO shares (owner, calendar, with, options, rw) + VALUES ('/caldav.php/booger%40example.com/', + '/carol%40example.net/', + '/caldav.php/booger%40example.com/calendar-default', + 'a:0:{}', + 1);