diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-05 08:51:03 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-05 09:42:58 +0200 |
commit | 581a83c2a18a50eb93216813f3591fc940ad914c (patch) | |
tree | 27116bd93ccff04a9e3c3c45edb6e3f57a90d08e /tests | |
parent | ddb659dd90229f0ae02ab10bc67778667da66cd2 (diff) | |
download | nextcloud-server-581a83c2a18a50eb93216813f3591fc940ad914c.tar.gz nextcloud-server-581a83c2a18a50eb93216813f3591fc940ad914c.zip |
Fix AppTest and intergration test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/AppTest.php | 9 |
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); |