Skip to content

Commit 49167c2

Browse files
Fix CI
1 parent 31acbc4 commit 49167c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Part/DataPartTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,14 @@ public function testFromPathWithUrl()
143143
}
144144

145145
$finder = new PhpExecutableFinder();
146-
$process = new Process(array_merge([$finder->find(false)], $finder->findArguments(), ['-dopcache.enable=0', '-dvariables_order=EGPCS', '-S', '127.0.0.1:8057']));
146+
$process = new Process(array_merge([$finder->find(false)], $finder->findArguments(), ['-dopcache.enable=0', '-dvariables_order=EGPCS', '-S', 'localhost:8057']));
147147
$process->setWorkingDirectory(__DIR__.'/../Fixtures/web');
148148
$process->start();
149149

150150
try {
151151
do {
152152
usleep(50000);
153-
} while (!@fopen('http://127.0.0.1:8057', 'r'));
153+
} while (!@fopen('http://localhost:8057', 'r'));
154154
$p = DataPart::fromPath($file = 'http://localhost:8057/logo_symfony_header.png');
155155
$content = file_get_contents($file);
156156
$this->assertEquals($content, $p->getBody());

0 commit comments

Comments
 (0)