|
|
|
@ -452,11 +452,11 @@ class AppTest extends \Test\TestCase { |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
$apps = \OC_App::getEnabledApps(); |
|
|
|
|
$this->assertEquals(array('files', 'app3', 'dav', 'federatedfilesharing',), $apps); |
|
|
|
|
$this->assertEquals(array('files', 'app3', 'dav', 'federatedfilesharing', 'workflowengine'), $apps); |
|
|
|
|
|
|
|
|
|
// mock should not be called again here |
|
|
|
|
$apps = \OC_App::getEnabledApps(); |
|
|
|
|
$this->assertEquals(array('files', 'app3', 'dav', 'federatedfilesharing',), $apps); |
|
|
|
|
$this->assertEquals(array('files', 'app3', 'dav', 'federatedfilesharing', 'workflowengine'), $apps); |
|
|
|
|
|
|
|
|
|
$this->restoreAppConfig(); |
|
|
|
|
\OC_User::setUserId(null); |
|
|
|
|