chore: fix test
This commit is contained in:
parent
472b008a94
commit
22a49a2f2e
|
@ -23,12 +23,6 @@ func TestAccessConfigPrepare_Region(t *testing.T) {
|
||||||
t.Fatalf("should have region validation err: %s", c.RawRegion)
|
t.Fatalf("should have region validation err: %s", c.RawRegion)
|
||||||
}
|
}
|
||||||
|
|
||||||
c.RawRegion = "us-west-1"
|
|
||||||
err = c.ValidateOSCRegion(c.RawRegion)
|
|
||||||
if err != nil {
|
|
||||||
t.Fatalf("shouldn't have region validation err: %s", c.RawRegion)
|
|
||||||
}
|
|
||||||
|
|
||||||
c.RawRegion = "custom"
|
c.RawRegion = "custom"
|
||||||
err = c.ValidateOSCRegion(c.RawRegion)
|
err = c.ValidateOSCRegion(c.RawRegion)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
|
Loading…
Reference in New Issue