Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRaimund Schlüßler <raimund.schluessler@mailbox.org>2020-02-11 00:42:58 +0300
committerRaimund Schlüßler <raimund.schluessler@mailbox.org>2020-02-11 01:09:59 +0300
commita103fd7a840d4c5c4ba531235b6276857d535ec9 (patch)
tree07c3f3896a7ed708a215a4a0bfa33b34eb62df26 /tests
parent00618b4e3f49ad05829b46a68812043abb8af171 (diff)
Don't edit not public tasks in lists shared to me
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/javascript/unit/setupStore.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/javascript/unit/setupStore.js b/tests/javascript/unit/setupStore.js
index a0919123..6c656298 100644
--- a/tests/javascript/unit/setupStore.js
+++ b/tests/javascript/unit/setupStore.js
@@ -25,6 +25,7 @@ const calendarsData = [
displayname: 'Calendar 1',
color: '#123456',
isWriteable: () => { return true },
+ isShareable: () => { return true },
shares: [],
components: ['VTODO'],
calendarQuery: () => { return null },
@@ -177,6 +178,7 @@ END:VCALENDAR`],
displayname: 'Calendar 2',
color: '#123456',
isWriteable: () => { return true },
+ isShareable: () => { return true },
shares: [],
components: ['VTODO', 'VEVENT'],
calendarQuery: () => { return null },