summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-08-07 15:22:21 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-08-07 15:22:21 +0200
commit80363c48fa336f0e9985d13452ff7c35073fe239 (patch)
treebdc9683b3f2ea3de8ef9624c90a1380f33384eba
parent9a0c948eeafce4d8c1af6d3f6d6108186c9d9c4a (diff)
try to fix test on php 5.5
-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';