Skip to content

Commit

Permalink
fixing a few unix-specific things
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Feb 21, 2018
1 parent 02de2dc commit ce575fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Test/MakerTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ protected function executeMakerCommand(MakerTestDetails $testDetails)
// execute the tests that were moved into the project!
$process = $this->createProcess(
// using OUR simple-phpunit for speed (to avoid downloading more deps)
'../../../vendor/bin/simple-phpunit',
__DIR__.'/../../vendor/bin/simple-phpunit',
self::$currentRootDir
);
$process->run();
Expand Down
4 changes: 2 additions & 2 deletions tests/Maker/FunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function getCommandTests()
'mysql://db_user:db_password@127.0.0.1:3306/db_name',
'sqlite:///%kernel.project_dir%/var/app.db'
)
->addPostMakeCommand('./bin/console doctrine:schema:create --env=test')
->addPostMakeCommand('php bin/console doctrine:schema:create --env=test')
];

yield 'fixtures' => [MakerTestDetails::createTest(
Expand Down Expand Up @@ -293,7 +293,7 @@ public function getCommandTests()
)
->addExtraDependencies('doctrine/orm')
// sync the database, so no changes are needed
->addPreMakeCommand('./bin/console doctrine:schema:create --env=test')
->addPreMakeCommand('php bin/console doctrine:schema:create --env=test')
->assert(function(string $output, string $directory) {
$this->assertNotContains('Success', $output);

Expand Down

0 comments on commit ce575fc

Please sign in to comment.