Skip to content

Commit

Permalink
tests(vpcgw): update legacy gws to ipam (#4369)
Browse files Browse the repository at this point in the history
  • Loading branch information
yfodil authored Dec 18, 2024
1 parent bd71f0e commit d378c84
Show file tree
Hide file tree
Showing 6 changed files with 522 additions and 646 deletions.
4 changes: 1 addition & 3 deletions internal/namespaces/vpcgw/v1/custom_gateway_network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@ func Test_vpcGwGatewayNetworkGet(t *testing.T) {
BeforeFunc: core.BeforeFuncCombine(
testhelpers.CreatePN(),
testhelpers.CreateGateway("GW"),
testhelpers.CreateDHCP(),
testhelpers.CreateGatewayNetworkDHCP("GW"),
testhelpers.CreateGatewayNetwork("GW"),
),
Cmd: "scw vpc-gw gateway-network get {{ .GWNT.ID }}",
Check: core.TestCheckGolden(),
AfterFunc: core.AfterFuncCombine(
testhelpers.DeleteGatewayNetwork(),
testhelpers.DeletePN(),
testhelpers.DeleteDHCP(),
testhelpers.DeleteGateway("GW"),
testhelpers.DeleteIPVpcGw("GW"),
),
Expand Down
Loading

0 comments on commit d378c84

Please sign in to comment.