From 80363c48fa336f0e9985d13452ff7c35073fe239 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 7 Aug 2015 15:22:21 +0200 Subject: try to fix test on php 5.5 --- tests/integration/command/CommandTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') 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'; -- cgit v1.2.3