We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9272276 commit eb91a43Copy full SHA for eb91a43
pkg/commands/git_commands/sync_test.go
@@ -100,7 +100,12 @@ func TestSyncPush(t *testing.T) {
100
t.Run(s.testName, func(t *testing.T) {
101
instance := buildSyncCommands(commonDeps{})
102
task := gocui.NewFakeTask()
103
- s.test(instance.PushCmdObj(task, s.opts))
+ cmdObj, err := instance.PushCmdObj(task, s.opts)
104
+ if err == nil {
105
+ assert.True(t, cmdObj.ShouldLog())
106
+ assert.Equal(t, cmdObj.GetCredentialStrategy(), oscommands.PROMPT)
107
+ }
108
+ s.test(cmdObj, err)
109
})
110
}
111
0 commit comments