diff --git a/tests/Unit/Service/Security/SensioLabsSecurityCheckerTest.php b/tests/Unit/Service/Security/SensioLabsSecurityCheckerTest.php index bac027b3..f2d84c5e 100644 --- a/tests/Unit/Service/Security/SensioLabsSecurityCheckerTest.php +++ b/tests/Unit/Service/Security/SensioLabsSecurityCheckerTest.php @@ -148,7 +148,7 @@ private function updateAdvisoriesDatabaseRepo(): void private function createAdvisoriesDatabaseRepo(): void { $this->filesystem->mkdir($this->repoDir); - (new Process(['git', 'init'], $this->repoDir))->run(); + (new Process(['git', 'init', '--initial-branch', 'master'], $this->repoDir))->run(); $this->filesystem->mirror( __DIR__.'/../../../Resources/fixtures/security/security-advisories', $this->repoDir