summaryrefslogtreecommitdiffstats
path: root/tests/lib/InstallerTest.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-10-27 20:13:15 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-10-31 17:17:45 +0100
commit8d83e239f321ef63e08c2c1a6658449c7376c46f (patch)
tree277603816fcc000d008be6c7ac84c108300b4d9b /tests/lib/InstallerTest.php
parent32cf661215fb3926789054a3953b465fc2665330 (diff)
downloadnextcloud-server-8d83e239f321ef63e08c2c1a6658449c7376c46f.tar.gz
nextcloud-server-8d83e239f321ef63e08c2c1a6658449c7376c46f.zip
Fix tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'tests/lib/InstallerTest.php')
-rw-r--r--tests/lib/InstallerTest.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib/InstallerTest.php b/tests/lib/InstallerTest.php
index e1c17b841a2..11c0e2675b1 100644
--- a/tests/lib/InstallerTest.php
+++ b/tests/lib/InstallerTest.php
@@ -49,7 +49,8 @@ class InstallerTest extends TestCase {
]
);
- Installer::installApp($data);
+ $installer = new Installer();
+ $installer->installApp($data);
$isInstalled = Installer::isInstalled(self::$appid);
$this->assertTrue($isInstalled);
@@ -88,7 +89,8 @@ class InstallerTest extends TestCase {
]
);
- Installer::installApp($oldData);
+ $installer = new Installer();
+ $installer->installApp($oldData);
$oldVersionNumber = \OC_App::getAppVersion(self::$appid);
Installer::updateApp($newData);