1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-07 22:02:56 +03:00

test: improve integration test portability

This commit is contained in:
Ryooooooga
2022-08-18 23:48:53 +09:00
parent ef82f39431
commit 6248091e9c

View File

@@ -136,9 +136,10 @@ func createFixture(test *IntegrationTest, paths Paths) error {
} }
shell := NewShell() shell := NewShell()
shell.RunCommand("git init") shell.RunCommand("git init -b master")
shell.RunCommand(`git config user.email "CI@example.com"`) shell.RunCommand(`git config user.email "CI@example.com"`)
shell.RunCommand(`git config user.name "CI"`) shell.RunCommand(`git config user.name "CI"`)
shell.RunCommand(`git config commit.gpgSign false`)
test.SetupRepo(shell) test.SetupRepo(shell)