diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-08-07 15:22:21 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-08-07 15:22:21 +0200 |
commit | 80363c48fa336f0e9985d13452ff7c35073fe239 (patch) | |
tree | bdc9683b3f2ea3de8ef9624c90a1380f33384eba /tests/integration/command/CommandTest.php | |
parent | 9a0c948eeafce4d8c1af6d3f6d6108186c9d9c4a (diff) |
try to fix test on php 5.5
Diffstat (limited to 'tests/integration/command/CommandTest.php')
-rw-r--r-- | tests/integration/command/CommandTest.php | 6 |
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'; |