src/Codeception/SmartWeb/SetupGenerator.php 1 location
|
@@ 207-214 (lines=8) @@
|
| 204 |
|
* |
| 205 |
|
* @return string |
| 206 |
|
*/ |
| 207 |
|
final protected function getPath(string $path, bool $inBasePath = false) : string |
| 208 |
|
{ |
| 209 |
|
$pathPrefix = $this->setup->getWorkDir() . DIRECTORY_SEPARATOR; |
| 210 |
|
|
| 211 |
|
return $inBasePath |
| 212 |
|
? $pathPrefix . $path |
| 213 |
|
: $pathPrefix . $this->setup->getTestsDir() . DIRECTORY_SEPARATOR . $path; |
| 214 |
|
} |
| 215 |
|
|
| 216 |
|
/** |
| 217 |
|
* @param string $path |
src/Generator/Test/BaseTestGenerator.php 1 location
|
@@ 153-160 (lines=8) @@
|
| 150 |
|
* |
| 151 |
|
* @return string |
| 152 |
|
*/ |
| 153 |
|
final protected function getPath(string $path, bool $inBasePath = false) : string |
| 154 |
|
{ |
| 155 |
|
$pathPrefix = $this->setup->getWorkDir() . DIRECTORY_SEPARATOR; |
| 156 |
|
|
| 157 |
|
return $inBasePath |
| 158 |
|
? $pathPrefix . $path |
| 159 |
|
: $pathPrefix . $this->setup->getTestsDir() . DIRECTORY_SEPARATOR . $path; |
| 160 |
|
} |
| 161 |
|
} |
| 162 |
|
|