Skip to content

Commit 8e06240

Browse files
committed
tests(AppManager): adjust unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent fd3e612 commit 8e06240

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tests/lib/App/AppManagerTest.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -708,10 +708,11 @@ public function testGetEnabledAppsForGroup() {
708708
->method('getGID')
709709
->willReturn('foo');
710710

711-
$this->appConfig->setValue('test1', 'enabled', 'yes');
712-
$this->appConfig->setValue('test2', 'enabled', 'no');
713-
$this->appConfig->setValue('test3', 'enabled', '["foo"]');
714-
$this->appConfig->setValue('test4', 'enabled', '["asd"]');
711+
$this->appConfig->setValue('files_external', 'enabled', 'yes');
712+
$this->appConfig->setValue('files_reminders', 'enabled', 'no');
713+
$this->appConfig->setValue('weather_status', 'enabled', '["foo"]');
714+
$this->appConfig->setValue('dashboard', 'enabled', '["asd"]');
715+
$this->appConfig->setValue('not-installed', 'enabled', 'yes');
715716
$enabled = [
716717
'cloud_federation_api',
717718
'dav',
@@ -721,8 +722,8 @@ public function testGetEnabledAppsForGroup() {
721722
'oauth2',
722723
'provisioning_api',
723724
'settings',
724-
'test1',
725-
'test3',
725+
'files_external',
726+
'weather_status',
726727
'theming',
727728
'twofactor_backupcodes',
728729
'viewer',

0 commit comments

Comments
 (0)