Skip to content

Commit 93e0e7e

Browse files
committed
fixing tests
1 parent c864e7f commit 93e0e7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Test/MakerTestEnvironment.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
use Symfony\Component\HttpClient\HttpClient;
1818
use Symfony\Component\Process\Exception\ProcessFailedException;
1919
use Symfony\Component\Process\InputStream;
20+
use vendor\project\StatusTest;
2021

2122
/**
2223
* @author Sadicov Vladimir <[email protected]>
@@ -350,12 +351,11 @@ private function buildFlexSkeleton()
350351
// fetch a few packages needed for testing
351352
MakerTestProcess::create('composer require phpunit browser-kit symfony/css-selector --prefer-dist --no-progress --no-suggest', $this->flexPath)
352353
->run();
353-
$this->fs->remove($this->flexPath.'/vendor/symfony/phpunit-bridge');
354354

355355
if ('\\' !== \DIRECTORY_SEPARATOR) {
356-
$this->fs->symlink('../../../../../../vendor/symfony/phpunit-bridge', './vendor/symfony/phpunit-bridge');
357-
} else {
358-
$this->fs->mirror(\dirname(__DIR__, 2).'/vendor/symfony/phpunit-bridge', $this->flexPath.'/vendor/symfony/phpunit-bridge');
356+
$this->fs->remove($this->flexPath.'/vendor/symfony/phpunit-bridge');
357+
358+
$this->fs->symlink($rootPath.'/vendor/symfony/phpunit-bridge', $this->flexPath.'/vendor/symfony/phpunit-bridge');
359359
}
360360

361361
// temporarily ignoring indirect deprecations - see #237

0 commit comments

Comments
 (0)