@@ -165,10 +165,12 @@ public function testViewApps(): void {
165165 ->method ('isUpdateAvailable ' )
166166 ->willReturn (false );
167167 $ this ->config
168- ->expects ($ this ->once ())
169168 ->method ('getSystemValueBool ' )
170- ->with ('appstoreenabled ' , true )
171- ->willReturn (true );
169+ ->willReturnMap ([
170+ ['appstoreenabled ' , true , false ],
171+ ['unified_search.enabled ' , false , false ],
172+ ['enable_non-accessible_features ' , true , true ],
173+ ]);
172174 $ this ->navigationManager
173175 ->expects ($ this ->once ())
174176 ->method ('setActiveEntry ' )
@@ -205,10 +207,12 @@ public function testViewAppsAppstoreNotEnabled(): void {
205207 ->willReturn (false );
206208 $ this ->bundleFetcher ->expects ($ this ->once ())->method ('getBundles ' )->willReturn ([]);
207209 $ this ->config
208- ->expects ($ this ->once ())
209210 ->method ('getSystemValueBool ' )
210- ->with ('appstoreenabled ' , true )
211- ->willReturn (false );
211+ ->willReturnMap ([
212+ ['appstoreenabled ' , true , false ],
213+ ['unified_search.enabled ' , false , false ],
214+ ['enable_non-accessible_features ' , true , true ],
215+ ]);
212216 $ this ->navigationManager
213217 ->expects ($ this ->once ())
214218 ->method ('setActiveEntry ' )
0 commit comments