summaryrefslogtreecommitdiffstats
path: root/tests/lib/setup.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/setup.php')
-rw-r--r--tests/lib/setup.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib/setup.php b/tests/lib/setup.php
index 2c1569dd800..8373ba316d6 100644
--- a/tests/lib/setup.php
+++ b/tests/lib/setup.php
@@ -8,14 +8,16 @@
use OCP\IConfig;
-class Test_OC_Setup extends PHPUnit_Framework_TestCase {
+class Test_OC_Setup extends \Test\TestCase {
/** @var IConfig */
protected $config;
/** @var \OC_Setup */
protected $setupClass;
- public function setUp() {
+ protected function setUp() {
+ parent::setUp();
+
$this->config = $this->getMock('\OCP\IConfig');
$this->setupClass = $this->getMock('\OC_Setup', array('class_exists', 'is_callable'), array($this->config));
}