Skip to content

Commit d67cf83

Browse files
committed
fix the Maker test environment
1 parent fafd951 commit d67cf83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Test/MakerTestEnvironment.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ private function buildFlexSkeleton(): void
246246
$flexProjectDir = \sprintf('flex_project%s', $targetVersion);
247247

248248
MakerTestProcess::create(
249-
\sprintf('composer create-project symfony/skeleton%s %s --prefer-dist --no-progress', $versionString, $flexProjectDir),
249+
\sprintf('composer create-project symfony/skeleton%s %s --prefer-dist --no-progress --keep-vcs', $versionString, $flexProjectDir),
250250
$this->cachePath
251251
)->run();
252252

@@ -260,7 +260,7 @@ private function buildFlexSkeleton(): void
260260
}
261261

262262
// fetch a few packages needed for testing
263-
MakerTestProcess::create('composer require phpunit browser-kit symfony/css-selector --prefer-dist --no-progress --no-suggest', $this->flexPath)
263+
MakerTestProcess::create('composer require phpunit:1.1.* browser-kit symfony/css-selector --prefer-dist --no-progress --no-suggest', $this->flexPath)
264264
->run();
265265

266266
if ('\\' !== \DIRECTORY_SEPARATOR) {

0 commit comments

Comments
 (0)