@@ -849,7 +849,7 @@ public function testIsLookupServerQueriesEnabled($gsEnabled, $isEnabled, $expect
849849 $ this ->gsConfig ->expects ($ this ->once ())->method ('isGlobalScaleEnabled ' )
850850 ->willReturn ($ gsEnabled );
851851 $ this ->config ->expects ($ this ->any ())->method ('getAppValue ' )
852- ->with ('files_sharing ' , 'lookupServerEnabled ' , 'yes ' )
852+ ->with ('files_sharing ' , 'lookupServerEnabled ' , 'no ' )
853853 ->willReturn ($ isEnabled );
854854
855855 $ this ->assertSame ($ expected ,
@@ -860,10 +860,13 @@ public function testIsLookupServerQueriesEnabled($gsEnabled, $isEnabled, $expect
860860
861861 public function dataTestIsLookupServerQueriesEnabled () {
862862 return [
863- [false , 'yes ' , true ],
864- [false , 'no ' , false ],
865863 [true , 'yes ' , true ],
866864 [true , 'no ' , true ],
865+ // TODO: reenable if we use the lookup server for non-global scale
866+ // [false, 'yes', true],
867+ // [false, 'no', false],
868+ [false , 'no ' , false ],
869+ [false , 'yes ' , false ],
867870 ];
868871 }
869872
@@ -877,7 +880,7 @@ public function testIsLookupServerUploadEnabled($gsEnabled, $isEnabled, $expecte
877880 $ this ->gsConfig ->expects ($ this ->once ())->method ('isGlobalScaleEnabled ' )
878881 ->willReturn ($ gsEnabled );
879882 $ this ->config ->expects ($ this ->any ())->method ('getAppValue ' )
880- ->with ('files_sharing ' , 'lookupServerUploadEnabled ' , 'yes ' )
883+ ->with ('files_sharing ' , 'lookupServerUploadEnabled ' , 'no ' )
881884 ->willReturn ($ isEnabled );
882885
883886 $ this ->assertSame ($ expected ,
@@ -887,10 +890,13 @@ public function testIsLookupServerUploadEnabled($gsEnabled, $isEnabled, $expecte
887890
888891 public function dataTestIsLookupServerUploadEnabled () {
889892 return [
890- [false , 'yes ' , true ],
891- [false , 'no ' , false ],
892893 [true , 'yes ' , false ],
893894 [true , 'no ' , false ],
895+ // TODO: reenable if we use the lookup server again
896+ // [false, 'yes', true],
897+ // [false, 'no', false],
898+ [false , 'yes ' , false ],
899+ [false , 'no ' , false ],
894900 ];
895901 }
896902
0 commit comments