Skip to content

Commit

Permalink
Merge branch '6.4' into 7.0
Browse files Browse the repository at this point in the history
* 6.4:
  [Filesystem][Mime] Fix transient tests
  Test convert CompletionInput into string
  • Loading branch information
nicolas-grekas committed Jun 28, 2024
2 parents d992a5e + b51ef80 commit f6b35b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/FilesystemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,17 @@ public function testCopyForOriginUrlsAndExistingLocalFileDefaultsToCopy()
}

$finder = new PhpExecutableFinder();
$process = new Process(array_merge([$finder->find(false)], $finder->findArguments(), ['-dopcache.enable=0', '-dvariables_order=EGPCS', '-S', 'localhost:8057']));
$process = new Process(array_merge([$finder->find(false)], $finder->findArguments(), ['-dopcache.enable=0', '-dvariables_order=EGPCS', '-S', 'localhost:8857']));
$process->setWorkingDirectory(__DIR__.'/Fixtures/web');

$process->start();

do {
usleep(50000);
} while (!@fopen('http://localhost:8057', 'r'));
} while (!@fopen('http://localhost:8857', 'r'));

try {
$sourceFilePath = 'http://localhost:8057/logo_symfony_header.png';
$sourceFilePath = 'http://localhost:8857/logo_symfony_header.png';
$targetFilePath = $this->workspace.\DIRECTORY_SEPARATOR.'copy_target_file';
file_put_contents($targetFilePath, 'TARGET FILE');
$this->filesystem->copy($sourceFilePath, $targetFilePath, false);
Expand Down

0 comments on commit f6b35b0

Please sign in to comment.