mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-19 03:57:55 -04:00
cli: fix invalid upper case name on AWS (#2546)
This commit is contained in:
parent
d67f1a035f
commit
eaec73cca4
4 changed files with 21 additions and 3 deletions
|
@ -421,6 +421,16 @@ func TestValidate(t *testing.T) {
|
|||
wantErr: true,
|
||||
wantErrCount: awsErrCount,
|
||||
},
|
||||
"AWS config with upper case name": {
|
||||
cnf: func() *Config {
|
||||
cnf := Default()
|
||||
cnf.RemoveProviderAndAttestationExcept(cloudprovider.AWS)
|
||||
cnf.Name = "testAWS"
|
||||
return cnf
|
||||
}(),
|
||||
wantErr: true,
|
||||
wantErrCount: awsErrCount + 1,
|
||||
},
|
||||
"AWS config with correct region and zone format": {
|
||||
cnf: func() *Config {
|
||||
cnf := Default()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue