Skip to content

Commit

Permalink
fix configure tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Dec 15, 2021
1 parent 7b932f6 commit 3c349db
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkg/commands/configure/configure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ func TestConfigure(t *testing.T) {
[user]
email = "[email protected]"
token = "abcdef"
[viceroy]
last_checked = ""
latest_version = ""
ttl = ""
`,
},
{
Expand Down Expand Up @@ -131,6 +136,11 @@ func TestConfigure(t *testing.T) {
[user]
email = "[email protected]"
token = "abcdef"
[viceroy]
last_checked = ""
latest_version = ""
ttl = ""
`,
},
{
Expand Down Expand Up @@ -176,6 +186,11 @@ func TestConfigure(t *testing.T) {
[user]
email = "[email protected]"
token = "abcdef"
[viceroy]
last_checked = ""
latest_version = ""
ttl = ""
`,
},
{
Expand Down Expand Up @@ -224,6 +239,11 @@ func TestConfigure(t *testing.T) {
[user]
email = "[email protected]"
token = "1234"
[viceroy]
last_checked = ""
latest_version = ""
ttl = ""
`,
},
{
Expand Down Expand Up @@ -270,6 +290,11 @@ func TestConfigure(t *testing.T) {
[user]
email = "[email protected]"
token = "hello"
[viceroy]
last_checked = ""
latest_version = ""
ttl = ""
`,
},
{
Expand Down Expand Up @@ -319,6 +344,11 @@ func TestConfigure(t *testing.T) {
[user]
email = "[email protected]"
token = "new_token"
[viceroy]
last_checked = ""
latest_version = ""
ttl = ""
`,
},
{
Expand Down

0 comments on commit 3c349db

Please sign in to comment.