Skip to content

Commit

Permalink
MAGETWO-71529: Improvements to the phpserver router #10500
Browse files Browse the repository at this point in the history
 - skipped the test for bamboo env
  • Loading branch information
Oleksii Korshenko committed Nov 7, 2017
1 parent 71d712b commit d83ccc4
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,26 @@
*/
class PhpserverTest extends \PHPUnit\Framework\TestCase
{

const BASE_URL = '127.0.0.1:8082';
const BASE_URL = '127.0.0.1:8082';

private static $serverPid;

/**
* @var \Zend\Http\Client
*/
private $httpClient;

/**
* Instantiate phpserver in the pub folder
*/
public static function setUpBeforeClass()
{
if (!(defined('TRAVIS') && TRAVIS === true)) {
self::markTestSkipped('Travis environment test');
}
$return = [];

$baseDir = __DIR__.'/../../../../../../';
$baseDir = __DIR__ . '/../../../../../../';
$command = sprintf(
'cd %s && php -S %s -t ./pub/ ./phpserver/router.php >/dev/null 2>&1 & echo $!',
$baseDir,
Expand Down

0 comments on commit d83ccc4

Please sign in to comment.