1
0
Fork 0

Merge pull request #9272 from nicolas-grekas/fix-test

Fix VcsRepositoryTest
pull/9276/head
Jordi Boggiano 2020-10-08 13:40:15 +02:00 committed by GitHub
commit 13215cdb1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}