Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix AppTest and intergration test
  • Loading branch information
rullzer committed Sep 5, 2016
commit 581a83c2a18a50eb93216813f3591fc940ad914c
1 change: 1 addition & 0 deletions build/integration/features/provisioning-v1.feature
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ Feature: provisioning
| provisioning_api |
| systemtags |
| theming |
| twofactor_backupcodes |
| updatenotification |
| workflowengine |
| files_external |
Expand Down
9 changes: 7 additions & 2 deletions tests/lib/AppTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ function appConfigValuesProvider() {
'appforgroup12',
'dav',
'federatedfilesharing',
'twofactor_backupcodes',
'workflowengine',
),
false
Expand All @@ -331,6 +332,7 @@ function appConfigValuesProvider() {
'appforgroup2',
'dav',
'federatedfilesharing',
'twofactor_backupcodes',
'workflowengine',
),
false
Expand All @@ -347,6 +349,7 @@ function appConfigValuesProvider() {
'appforgroup2',
'dav',
'federatedfilesharing',
'twofactor_backupcodes',
'workflowengine',
),
false
Expand All @@ -363,6 +366,7 @@ function appConfigValuesProvider() {
'appforgroup2',
'dav',
'federatedfilesharing',
'twofactor_backupcodes',
'workflowengine',
),
false,
Expand All @@ -379,6 +383,7 @@ function appConfigValuesProvider() {
'appforgroup2',
'dav',
'federatedfilesharing',
'twofactor_backupcodes',
'workflowengine',
),
true,
Expand Down Expand Up @@ -457,11 +462,11 @@ public function testEnabledAppsCache() {
);

$apps = \OC_App::getEnabledApps();
$this->assertEquals(array('files', 'app3', 'dav', 'federatedfilesharing', 'workflowengine'), $apps);
$this->assertEquals(array('files', 'app3', 'dav', 'federatedfilesharing', 'twofactor_backupcodes', 'workflowengine'), $apps);

// mock should not be called again here
$apps = \OC_App::getEnabledApps();
$this->assertEquals(array('files', 'app3', 'dav', 'federatedfilesharing', 'workflowengine'), $apps);
$this->assertEquals(array('files', 'app3', 'dav', 'federatedfilesharing', 'twofactor_backupcodes', 'workflowengine'), $apps);

$this->restoreAppConfig();
\OC_User::setUserId(null);
Expand Down