Skip to content

Commit f927f84

Browse files
committed
fix tests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent fc14b74 commit f927f84

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/lib/Collaboration/Collaborators/LookupPluginTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ public function dataSearchEnableDisableLookupServer() {
342342
'label' => $fedIDs[0],
343343
'value' => [
344344
'shareType' => IShare::TYPE_REMOTE,
345+
'globalScale' => true,
345346
'shareWith' => $fedIDs[0]
346347
],
347348
'extra' => ['federationId' => $fedIDs[0]],
@@ -350,6 +351,7 @@ public function dataSearchEnableDisableLookupServer() {
350351
'label' => $fedIDs[1],
351352
'value' => [
352353
'shareType' => IShare::TYPE_REMOTE,
354+
'globalScale' => true,
353355
'shareWith' => $fedIDs[1]
354356
],
355357
'extra' => ['federationId' => $fedIDs[1]],
@@ -358,6 +360,7 @@ public function dataSearchEnableDisableLookupServer() {
358360
'label' => $fedIDs[2],
359361
'value' => [
360362
'shareType' => IShare::TYPE_REMOTE,
363+
'globalScale' => true,
361364
'shareWith' => $fedIDs[2]
362365
],
363366
'extra' => ['federationId' => $fedIDs[2]],
@@ -381,6 +384,7 @@ public function dataSearchEnableDisableLookupServer() {
381384
'label' => $fedIDs[0],
382385
'value' => [
383386
'shareType' => IShare::TYPE_REMOTE,
387+
'globalScale' => false,
384388
'shareWith' => $fedIDs[0]
385389
],
386390
'extra' => ['federationId' => $fedIDs[0]],
@@ -389,6 +393,7 @@ public function dataSearchEnableDisableLookupServer() {
389393
'label' => $fedIDs[1],
390394
'value' => [
391395
'shareType' => IShare::TYPE_REMOTE,
396+
'globalScale' => false,
392397
'shareWith' => $fedIDs[1]
393398
],
394399
'extra' => ['federationId' => $fedIDs[1]],
@@ -397,6 +402,7 @@ public function dataSearchEnableDisableLookupServer() {
397402
'label' => $fedIDs[2],
398403
'value' => [
399404
'shareType' => IShare::TYPE_REMOTE,
405+
'globalScale' => false,
400406
'shareWith' => $fedIDs[2]
401407
],
402408
'extra' => ['federationId' => $fedIDs[2]],
@@ -471,6 +477,7 @@ public function searchDataProvider() {
471477
'label' => $fedIDs[0],
472478
'value' => [
473479
'shareType' => IShare::TYPE_REMOTE,
480+
'globalScale' => false,
474481
'shareWith' => $fedIDs[0]
475482
],
476483
'extra' => ['federationId' => $fedIDs[0]],
@@ -479,6 +486,7 @@ public function searchDataProvider() {
479486
'label' => $fedIDs[1],
480487
'value' => [
481488
'shareType' => IShare::TYPE_REMOTE,
489+
'globalScale' => false,
482490
'shareWith' => $fedIDs[1]
483491
],
484492
'extra' => ['federationId' => $fedIDs[1]],
@@ -487,6 +495,7 @@ public function searchDataProvider() {
487495
'label' => $fedIDs[2],
488496
'value' => [
489497
'shareType' => IShare::TYPE_REMOTE,
498+
'globalScale' => false,
490499
'shareWith' => $fedIDs[2]
491500
],
492501
'extra' => ['federationId' => $fedIDs[2]],

0 commit comments

Comments
 (0)