fix test names (#11374)
This commit is contained in:
parent
3c22fc79a5
commit
979faf41e5
|
@ -47,14 +47,14 @@ func TestCommand_Ui(t *testing.T) {
|
|||
ExpectedURL: "http://127.0.0.1:4646?namespace=dev",
|
||||
},
|
||||
{
|
||||
Name: "set region via flag",
|
||||
Name: "set region via env var",
|
||||
SetupFn: func(t *testing.T) {
|
||||
setEnv(t, "NOMAD_REGION", "earth")
|
||||
},
|
||||
ExpectedURL: "http://127.0.0.1:4646?region=earth",
|
||||
},
|
||||
{
|
||||
Name: "set region and namespace via flag",
|
||||
Name: "set region and namespace via env var",
|
||||
SetupFn: func(t *testing.T) {
|
||||
setEnv(t, "NOMAD_REGION", "earth")
|
||||
setEnv(t, "NOMAD_NAMESPACE", "dev")
|
||||
|
@ -62,7 +62,7 @@ func TestCommand_Ui(t *testing.T) {
|
|||
ExpectedURL: "http://127.0.0.1:4646?namespace=dev®ion=earth",
|
||||
},
|
||||
{
|
||||
Name: "set region and namespace via flag",
|
||||
Name: "set region and namespace via env var",
|
||||
SetupFn: func(t *testing.T) {
|
||||
setEnv(t, "NOMAD_REGION", "earth")
|
||||
setEnv(t, "NOMAD_NAMESPACE", "dev")
|
||||
|
|
Loading…
Reference in a new issue