summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/integration/command/CommandTest.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/integration/command/CommandTest.php b/tests/integration/command/CommandTest.php
index d67e05a2e..be7174fbf 100644
--- a/tests/integration/command/CommandTest.php
+++ b/tests/integration/command/CommandTest.php
@@ -11,7 +11,11 @@
class CommandTest extends \PHPUnit_Framework_TestCase {
- private $corePath = __DIR__ . '/../../../../../';
+ private $corePath;
+
+ public function setUp() {
+ $this->corePath = __DIR__ . '/../../../../../';
+ }
public function testGenerateIndices() {
$command = $this->corePath . 'occ news:create-search-indices';