mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
remove dependency on model
This commit is contained in:
@ -42,8 +42,7 @@ var MenuFromCommandsOutput = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
}
|
||||
},
|
||||
Run: func(t *TestDriver, keys config.KeybindingConfig) {
|
||||
t.Model().CurrentBranchName("feature/bar")
|
||||
t.Model().WorkingTreeFileCount(0)
|
||||
t.Git().CurrentBranchName("feature/bar")
|
||||
|
||||
t.Views().Branches().
|
||||
Focus().
|
||||
@ -56,6 +55,6 @@ var MenuFromCommandsOutput = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
|
||||
t.ExpectMenu().Title(Equals("Branch:")).Select(Equals("master")).Confirm()
|
||||
|
||||
t.Model().CurrentBranchName("master")
|
||||
t.Git().CurrentBranchName("master")
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user