diff --git a/tests/Issues/MozartIssue97Test.php b/tests/Issues/MozartIssue97Test.php new file mode 100644 index 00000000..f8e5b56a --- /dev/null +++ b/tests/Issues/MozartIssue97Test.php @@ -0,0 +1,57 @@ +testsWorkingDir . '/composer.json', $composerJsonString); + + chdir($this->testsWorkingDir); + + exec('composer install'); + + $inputInterfaceMock = $this->createMock(InputInterface::class); + $outputInterfaceMock = $this->createMock(OutputInterface::class); + + $mozartCompose = new Compose(); + + $result = $mozartCompose->run($inputInterfaceMock, $outputInterfaceMock); + + $this->assertEquals(0, $result); + } +}