eZ/Publish/Core/Persistence/Legacy/Tests/Content/FieldValue/Converter/RichTextTest.php 1 location
|
@@ 93-102 (lines=10) @@
|
| 90 |
|
/** |
| 91 |
|
* @return string |
| 92 |
|
*/ |
| 93 |
|
protected static function getInstallationDir() |
| 94 |
|
{ |
| 95 |
|
static $installDir = null; |
| 96 |
|
if ($installDir === null) { |
| 97 |
|
$config = require 'config.php'; |
| 98 |
|
$installDir = $config['service']['parameters']['install_dir']; |
| 99 |
|
} |
| 100 |
|
|
| 101 |
|
return $installDir; |
| 102 |
|
} |
| 103 |
|
} |
| 104 |
|
|
eZ/Publish/SPI/Tests/FieldType/BaseIntegrationTest.php 1 location
|
@@ 66-75 (lines=10) @@
|
| 63 |
|
/** |
| 64 |
|
* @return string |
| 65 |
|
*/ |
| 66 |
|
protected static function getInstallationDir() |
| 67 |
|
{ |
| 68 |
|
static $installDir = null; |
| 69 |
|
if ($installDir === null) { |
| 70 |
|
$config = require __DIR__ . '/../../../../../config.php'; |
| 71 |
|
$installDir = $config['install_dir']; |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
return $installDir; |
| 75 |
|
} |
| 76 |
|
|
| 77 |
|
/** |
| 78 |
|
* @var \eZ\Publish\Core\Persistence\TransformationProcessor |
eZ/Publish/SPI/Tests/FieldType/RichTextIntegrationTest.php 1 location
|
@@ 177-186 (lines=10) @@
|
| 174 |
|
/** |
| 175 |
|
* @return string |
| 176 |
|
*/ |
| 177 |
|
protected static function getInstallationDir() |
| 178 |
|
{ |
| 179 |
|
static $installDir = null; |
| 180 |
|
if ($installDir === null) { |
| 181 |
|
$config = require 'config.php'; |
| 182 |
|
$installDir = $config['install_dir']; |
| 183 |
|
} |
| 184 |
|
|
| 185 |
|
return $installDir; |
| 186 |
|
} |
| 187 |
|
} |
| 188 |
|
|
eZ/Publish/Core/FieldType/Tests/RichTextTest.php 1 location
|
@@ 425-434 (lines=10) @@
|
| 422 |
|
/** |
| 423 |
|
* @return string |
| 424 |
|
*/ |
| 425 |
|
protected static function getInstallationDir() |
| 426 |
|
{ |
| 427 |
|
static $installDir = null; |
| 428 |
|
if ($installDir === null) { |
| 429 |
|
$config = require 'config.php'; |
| 430 |
|
$installDir = $config['install_dir']; |
| 431 |
|
} |
| 432 |
|
|
| 433 |
|
return $installDir; |
| 434 |
|
} |
| 435 |
|
|
| 436 |
|
protected function provideFieldTypeIdentifier() |
| 437 |
|
{ |
eZ/Publish/Core/Persistence/Legacy/Tests/TestCase.php 1 location
|
@@ 338-347 (lines=10) @@
|
| 335 |
|
/** |
| 336 |
|
* @return string |
| 337 |
|
*/ |
| 338 |
|
protected static function getInstallationDir() |
| 339 |
|
{ |
| 340 |
|
static $installDir = null; |
| 341 |
|
if ($installDir === null) { |
| 342 |
|
$config = require 'config.php'; |
| 343 |
|
$installDir = $config['install_dir']; |
| 344 |
|
} |
| 345 |
|
|
| 346 |
|
return $installDir; |
| 347 |
|
} |
| 348 |
|
} |
| 349 |
|
|