X Tutup
Skip to content

Commit 38ea595

Browse files
committed
Fix refresh test
1 parent bc81282 commit 38ea595

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pkg/cmd/auth/refresh/refresh_test.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ func Test_NewCmdRefresh(t *testing.T) {
3737
wantsErr: true,
3838
},
3939
{
40-
name: "nontty hostname",
41-
cli: "-h aline.cedrac",
42-
wantsErr: true,
40+
name: "nontty hostname",
41+
cli: "-h aline.cedrac",
42+
wants: RefreshOptions{
43+
Hostname: "aline.cedrac",
44+
},
4345
},
4446
{
4547
name: "tty hostname",

0 commit comments

Comments
 (0)
X Tutup