Skip to content

Commit d83ccc4

Browse files
author
Oleksii Korshenko
committed
MAGETWO-71529: Improvements to the phpserver router #10500
- skipped the test for bamboo env
1 parent 71d712b commit d83ccc4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

dev/tests/integration/testsuite/Magento/Phpserver/PhpserverTest.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,26 @@
1717
*/
1818
class PhpserverTest extends \PHPUnit\Framework\TestCase
1919
{
20-
21-
const BASE_URL = '127.0.0.1:8082';
20+
const BASE_URL = '127.0.0.1:8082';
2221

2322
private static $serverPid;
2423

24+
/**
25+
* @var \Zend\Http\Client
26+
*/
2527
private $httpClient;
2628

2729
/**
2830
* Instantiate phpserver in the pub folder
2931
*/
3032
public static function setUpBeforeClass()
3133
{
34+
if (!(defined('TRAVIS') && TRAVIS === true)) {
35+
self::markTestSkipped('Travis environment test');
36+
}
3237
$return = [];
3338

34-
$baseDir = __DIR__.'/../../../../../../';
39+
$baseDir = __DIR__ . '/../../../../../../';
3540
$command = sprintf(
3641
'cd %s && php -S %s -t ./pub/ ./phpserver/router.php >/dev/null 2>&1 & echo $!',
3742
$baseDir,

0 commit comments

Comments
 (0)