diff options
Diffstat (limited to 'tests/lib/InstallerTest.php')
-rw-r--r-- | tests/lib/InstallerTest.php | 6 |
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); |