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 5fa3774 commit 01e3d22Copy full SHA for 01e3d22
main_test.go
@@ -56,6 +56,7 @@ func TestGetClientWithToken(t *testing.T) {
56
t.Fatalf("should be fail: %v", err)
57
}
58
59
+ *isInsecure = true
60
readUsername = func(t *tty.TTY) (string, error) { return "", nil }
61
readPassword = func(t *tty.TTY) (string, error) { return "", nil }
62
if _, err := getClientWithToken(context.Background(), fp); err != nil {
@@ -105,6 +106,7 @@ func TestGetToken(t *testing.T) {
105
106
107
108
109
110
token, err := getToken(context.Background(), apiURL, fp)
111
if err != nil {
112
t.Fatalf("should not be fail: %v", err)
0 commit comments