mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-06 16:25:21 -04:00
AB#2061 Self Documenting Config File (#143)
Move firewall up into root config, remove VPC config & autogenerate comments in config file.
This commit is contained in:
parent
cdfd962fcc
commit
b905c28515
20 changed files with 538 additions and 348 deletions
|
@ -13,11 +13,6 @@ import (
|
|||
func TestCreateVPCs(t *testing.T) {
|
||||
someErr := errors.New("failed")
|
||||
|
||||
testInput := VPCsInput{
|
||||
SubnetCIDR: "192.0.2.0/24",
|
||||
SubnetExtCIDR: "198.51.100.0/24",
|
||||
}
|
||||
|
||||
testCases := map[string]struct {
|
||||
operationGlobalAPI operationGlobalAPI
|
||||
operationRegionAPI operationRegionAPI
|
||||
|
@ -80,9 +75,9 @@ func TestCreateVPCs(t *testing.T) {
|
|||
}
|
||||
|
||||
if tc.wantErr {
|
||||
assert.Error(client.CreateVPCs(ctx, testInput))
|
||||
assert.Error(client.CreateVPCs(ctx))
|
||||
} else {
|
||||
assert.NoError(client.CreateVPCs(ctx, testInput))
|
||||
assert.NoError(client.CreateVPCs(ctx))
|
||||
assert.NotNil(client.network)
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue