File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
dev/tests/integration/testsuite/Magento/Phpserver Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 17
17
*/
18
18
class PhpserverTest extends \PHPUnit \Framework \TestCase
19
19
{
20
-
21
- const BASE_URL = '127.0.0.1:8082 ' ;
20
+ const BASE_URL = '127.0.0.1:8082 ' ;
22
21
23
22
private static $ serverPid ;
24
23
24
+ /**
25
+ * @var \Zend\Http\Client
26
+ */
25
27
private $ httpClient ;
26
28
27
29
/**
28
30
* Instantiate phpserver in the pub folder
29
31
*/
30
32
public static function setUpBeforeClass ()
31
33
{
34
+ if (!(defined ('TRAVIS ' ) && TRAVIS === true )) {
35
+ self ::markTestSkipped ('Travis environment test ' );
36
+ }
32
37
$ return = [];
33
38
34
- $ baseDir = __DIR__ . '/../../../../../../ ' ;
39
+ $ baseDir = __DIR__ . '/../../../../../../ ' ;
35
40
$ command = sprintf (
36
41
'cd %s && php -S %s -t ./pub/ ./phpserver/router.php >/dev/null 2>&1 & echo $! ' ,
37
42
$ baseDir ,
You can’t perform that action at this time.
0 commit comments