X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2Fsql%2Fagendav-fixtures.sql;h=535f02333c23d70aad20198519a23393a5440bd7;hb=08e0795d01329de098fb23d85d459d32e54f3e36;hp=fe39f6ef014103ecea34a85381cba9f833fdfcd3;hpb=c91d65b619b00073328053d729990202f0408905;p=mailshears.git diff --git a/test/sql/agendav-fixtures.sql b/test/sql/agendav-fixtures.sql index fe39f6e..535f023 100644 --- a/test/sql/agendav-fixtures.sql +++ b/test/sql/agendav-fixtures.sql @@ -15,3 +15,20 @@ INSERT INTO shares (owner, calendar, "with", options, rw) '/carol%40example.net/', 'a:0:{}', true); + +/* These two are missing a prefs entry to test the removal of "shares" + * entries in that situation. +*/ +INSERT INTO shares (owner, calendar, "with", options, rw) + VALUES ('/caldav.php/stinky%40example.com/', + '/caldav.php/stinky%40example.com/calendar-default', + '/herp%40example.net/', + 'a:0:{}', + true); + +INSERT INTO shares (owner, calendar, "with", options, rw) + VALUES ('/caldav.php/goober%40example.com/', + '/caldav.php/goober%40example.com/calendar-default', + '/derp%40example.net/', + 'a:0:{}', + true);