Update git protocol login prompt to indicate it is host level

This commit is contained in:
William Martin 2023-12-04 15:51:30 +01:00
parent 4e04b98f6f
commit 2c72647cf7
3 changed files with 8 additions and 8 deletions

View file

@ -52,7 +52,7 @@ func TestLogin_ssh(t *testing.T) {
pm := &prompter.PrompterMock{}
pm.SelectFunc = func(prompt, _ string, opts []string) (int, error) {
switch prompt {
case "What is your preferred protocol for Git operations?":
case "What is your preferred protocol for Git operations on this host?":
return prompter.IndexFor(opts, "SSH")
case "How would you like to authenticate GitHub CLI?":
return prompter.IndexFor(opts, "Paste an authentication token")