summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-02-12 13:31:11 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-02-12 16:52:45 +0100
commitd06ef07a97a9ca8826d9c47c925f633c145683a7 (patch)
tree98c2beb6ae57824468de59b5b83849941de4a9b4 /tests
parente2e42d4ffd2b07c32fde1a36c64e48de334cac56 (diff)
downloadnextcloud-server-d06ef07a97a9ca8826d9c47c925f633c145683a7.tar.gz
nextcloud-server-d06ef07a97a9ca8826d9c47c925f633c145683a7.zip
disable timeout on app install via cli
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/InstallerTest.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/lib/InstallerTest.php b/tests/lib/InstallerTest.php
index 01a2506270a..4530784e8e2 100644
--- a/tests/lib/InstallerTest.php
+++ b/tests/lib/InstallerTest.php
@@ -57,7 +57,8 @@ class InstallerTest extends TestCase {
\OC::$server->getHTTPClientService(),
\OC::$server->getTempManager(),
\OC::$server->getLogger(),
- $config
+ $config,
+ false
);
$installer->removeApp(self::$appid);
}
@@ -68,7 +69,8 @@ class InstallerTest extends TestCase {
$this->clientService,
$this->tempManager,
$this->logger,
- $this->config
+ $this->config,
+ false
);
}
@@ -78,7 +80,8 @@ class InstallerTest extends TestCase {
\OC::$server->getHTTPClientService(),
\OC::$server->getTempManager(),
\OC::$server->getLogger(),
- \OC::$server->getConfig()
+ \OC::$server->getConfig(),
+ false
);
$installer->removeApp(self::$appid);
\OC::$server->getConfig()->setSystemValue('appstoreenabled', $this->appstore);
@@ -101,7 +104,8 @@ class InstallerTest extends TestCase {
\OC::$server->getHTTPClientService(),
\OC::$server->getTempManager(),
\OC::$server->getLogger(),
- \OC::$server->getConfig()
+ \OC::$server->getConfig(),
+ false
);
$this->assertNull(\OC::$server->getConfig()->getAppValue('testapp', 'enabled', null), 'Check that the app is not listed before installation');
$this->assertSame('testapp', $installer->installApp(self::$appid));