Fix VcsRepositoryTest

main
Nicolas Grekas 4 years ago
parent 23d42c6717
commit f9913205dd

@ -42,8 +42,8 @@ class VcsRepositoryTest extends TestCase
return;
}
if (!@mkdir(self::$gitRepo) || !@chdir(self::$gitRepo)) {
$this->skipped = 'Could not create and move into the temp git repo '.self::$gitRepo;
if (!@chdir(self::$gitRepo)) {
$this->skipped = 'Could not move into the temp git repo '.self::$gitRepo;
return;
}

Loading…
Cancel
Save