mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
test: improve integration test portability
This commit is contained in:
@ -136,9 +136,10 @@ func createFixture(test *IntegrationTest, paths Paths) error {
|
||||
}
|
||||
|
||||
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.name "CI"`)
|
||||
shell.RunCommand(`git config commit.gpgSign false`)
|
||||
|
||||
test.SetupRepo(shell)
|
||||
|
||||
|
Reference in New Issue
Block a user