X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2Fsql%2Fagendav-fixtures.sql;h=fe39f6ef014103ecea34a85381cba9f833fdfcd3;hb=826f82992ce99a35a1b7fc1ac973611371610dd7;hp=76cdba18ac79add7b19071a8875e96b11dc4f36f;hpb=e1d4b3dd098d2107bbf5ca84d36c8052706e86a8;p=mailshears.git diff --git a/test/sql/agendav-fixtures.sql b/test/sql/agendav-fixtures.sql index 76cdba1..fe39f6e 100644 --- a/test/sql/agendav-fixtures.sql +++ b/test/sql/agendav-fixtures.sql @@ -1,4 +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:{}', + false); + +/* Just kidding, here's another one! */ +INSERT INTO prefs (username, options) VALUES ('booger@example.com', 'herp'); +INSERT INTO shares (owner, calendar, "with", options, rw) + VALUES ('/caldav.php/booger%40example.com/', + '/caldav.php/booger%40example.com/calendar-default', + '/carol%40example.net/', + 'a:0:{}', + true);