Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-09-05 09:51:03 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2016-09-05 10:42:58 +0300
commit581a83c2a18a50eb93216813f3591fc940ad914c (patch)
tree27116bd93ccff04a9e3c3c45edb6e3f57a90d08e /tests/lib/AppTest.php
parentddb659dd90229f0ae02ab10bc67778667da66cd2 (diff)
Fix AppTest and intergration test
Diffstat (limited to 'tests/lib/AppTest.php')
-rw-r--r--tests/lib/AppTest.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/lib/AppTest.php b/tests/lib/AppTest.php
index d37b4a0f56a..64311f6e4ae 100644
--- a/tests/lib/AppTest.php
+++ b/tests/lib/AppTest.php
@@ -316,6 +316,7 @@ class AppTest extends \Test\TestCase {
'appforgroup12',
'dav',
'federatedfilesharing',
+ 'twofactor_backupcodes',
'workflowengine',
),
false
@@ -331,6 +332,7 @@ class AppTest extends \Test\TestCase {
'appforgroup2',
'dav',
'federatedfilesharing',
+ 'twofactor_backupcodes',
'workflowengine',
),
false
@@ -347,6 +349,7 @@ class AppTest extends \Test\TestCase {
'appforgroup2',
'dav',
'federatedfilesharing',
+ 'twofactor_backupcodes',
'workflowengine',
),
false
@@ -363,6 +366,7 @@ class AppTest extends \Test\TestCase {
'appforgroup2',
'dav',
'federatedfilesharing',
+ 'twofactor_backupcodes',
'workflowengine',
),
false,
@@ -379,6 +383,7 @@ class AppTest extends \Test\TestCase {
'appforgroup2',
'dav',
'federatedfilesharing',
+ 'twofactor_backupcodes',
'workflowengine',
),
true,
@@ -457,11 +462,11 @@ class AppTest extends \Test\TestCase {
);
$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);