aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/share/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/share/backend.php')
-rw-r--r--tests/lib/share/backend.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/share/backend.php b/tests/lib/share/backend.php
index 50ce24e07b6..61b8f262a42 100644
--- a/tests/lib/share/backend.php
+++ b/tests/lib/share/backend.php
@@ -29,9 +29,10 @@ class Test_Share_Backend implements OCP\Share_Backend {
private $testItem1 = 'test.txt';
private $testItem2 = 'share.txt';
+ private $testId = 1;
public function isValidSource($itemSource, $uidOwner) {
- if ($itemSource == $this->testItem1 || $itemSource == $this->testItem2) {
+ if ($itemSource == $this->testItem1 || $itemSource == $this->testItem2 || $itemSource == 1) {
return true;
}
}