test/phpunit/tests/Loader/UrlWorkflowFactoryTest.php 1 location
|
@@ 44-55 (lines=12) @@
|
41 |
|
/** |
42 |
|
* |
43 |
|
*/ |
44 |
|
public static function setUpBeforeClass() |
45 |
|
{ |
46 |
|
static::setUpHttpMockBeforeClass('8082', 'localhost'); |
47 |
|
if (!static::$pathToExampleWorkflowXml) { |
48 |
|
$path = Paths::getPathToCommonDataDir() . DIRECTORY_SEPARATOR . 'example.xml'; |
49 |
|
static::$pathToExampleWorkflowXml = $path; |
50 |
|
} |
51 |
|
|
52 |
|
if (!static::$exampleWorkflowXml) { |
53 |
|
static::$exampleWorkflowXml = file_get_contents(static::$pathToExampleWorkflowXml); |
54 |
|
} |
55 |
|
} |
56 |
|
|
57 |
|
/** |
58 |
|
* |
test/phpunit/tests/Loader/WorkflowLoaderTest.php 1 location
|
@@ 39-50 (lines=12) @@
|
36 |
|
/** |
37 |
|
* |
38 |
|
*/ |
39 |
|
public static function setUpBeforeClass() |
40 |
|
{ |
41 |
|
static::setUpHttpMockBeforeClass('8082', 'localhost'); |
42 |
|
if (!static::$pathToExampleWorkflowXml) { |
43 |
|
$path = $path = Paths::getPathToCommonDataDir() . DIRECTORY_SEPARATOR . 'example.xml'; |
44 |
|
static::$pathToExampleWorkflowXml = $path; |
45 |
|
} |
46 |
|
|
47 |
|
if (!static::$exampleWorkflowXml) { |
48 |
|
static::$exampleWorkflowXml = file_get_contents(static::$pathToExampleWorkflowXml); |
49 |
|
} |
50 |
|
} |
51 |
|
|
52 |
|
/** |
53 |
|
* |
test/phpunit/tests/Loader/XMLWorkflowFactory/WorkflowConfigTest.php 1 location
|
@@ 44-55 (lines=12) @@
|
41 |
|
/** |
42 |
|
* @return void |
43 |
|
*/ |
44 |
|
public static function setUpBeforeClass() |
45 |
|
{ |
46 |
|
static::setUpHttpMockBeforeClass('8082', 'localhost'); |
47 |
|
if (!static::$pathToExampleWorkflowConfig) { |
48 |
|
$path = Paths::getPathToCommonDataDir() . DIRECTORY_SEPARATOR . 'osworkflow.xml'; |
49 |
|
static::$pathToExampleWorkflowConfig = $path; |
50 |
|
} |
51 |
|
|
52 |
|
if (!static::$exampleWorkflowConfig) { |
53 |
|
static::$exampleWorkflowConfig = file_get_contents(static::$pathToExampleWorkflowConfig); |
54 |
|
} |
55 |
|
} |
56 |
|
|
57 |
|
/** |
58 |
|
* |