summaryrefslogtreecommitdiffstats
path: root/tests/lib/installer.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-10 22:59:50 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-19 14:53:51 +0100
commitcb3a598cdb238f9ce74dce80ef9e59cdfc531a4f (patch)
tree2a3ec09e86f13885483286ba5f5213201eb4ee67 /tests/lib/installer.php
parent76ebd3a050cb3c84b958f071ec559e6bc9cbc847 (diff)
downloadnextcloud-server-cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f.tar.gz
nextcloud-server-cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f.zip
Make root tests extend the \Test\TestCase
Diffstat (limited to 'tests/lib/installer.php')
-rw-r--r--tests/lib/installer.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/lib/installer.php b/tests/lib/installer.php
index 5e267245200..b58a71b5a08 100644
--- a/tests/lib/installer.php
+++ b/tests/lib/installer.php
@@ -6,20 +6,24 @@
* See the COPYING-README file.
*/
-class Test_Installer extends PHPUnit_Framework_TestCase {
+class Test_Installer extends \Test\TestCase {
private static $appid = 'testapp';
private $appstore;
- public function setUp() {
+ protected function setUp() {
+ parent::setUp();
+
$this->appstore = OC_Config::getValue('appstoreenabled', true);
OC_Config::setValue('appstoreenabled', true);
OC_Installer::removeApp(self::$appid);
}
- public function tearDown() {
+ protected function tearDown() {
OC_Installer::removeApp(self::$appid);
OC_Config::setValue('appstoreenabled', $this->appstore);
+
+ parent::tearDown();
}
public function testInstallApp() {