File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
tests/Integration/Composer Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 66use Phpactor \ClassFileConverter \Domain \ClassName ;
77use Phpactor \ClassFileConverter \Domain \FilePathCandidates ;
88use Phpactor \ClassFileConverter \Adapter \Composer \ComposerClassToFile ;
9+ use Prophecy \PhpUnit \ProphecyTrait ;
910use Psr \Log \LoggerInterface ;
1011use Prophecy \Argument ;
1112
1415 */
1516class ComposerClassToFileTest extends ComposerTestCase
1617{
18+ use ProphecyTrait;
19+
1720 /**
1821 * @var LoggerInterface
1922 */
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ protected function loadExample($composerFile): void
2323 $ filesystem ->mirror ($ projectPath , $ this ->workspacePath ());
2424 $ filesystem ->copy ($ composerPath , $ this ->workspacePath ().'/composer.json ' );
2525 chdir ($ this ->workspacePath ());
26- exec ('composer dumpautoload 2> /dev/null ' );
26+ exec ('composer install 2> /dev/null ' );
2727 }
2828
2929 protected function getClassLoader ()
You can’t perform that action at this time.
0 commit comments