Skip to content

Commit 6978640

Browse files
authored
Improve Test_NsxtApplicationPortProfileTenant correctness (#601)
1 parent f015d46 commit 6978640

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.changes/v2.22.0/601-notes.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* Improved test `Test_NsxtApplicationPortProfileTenant` [GH-601]

govcd/nsxt_application_profile_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func getAppProfileTenant(vcd *TestVCD, check *C) *types.NsxtAppPortProfile {
8484
ApplicationPorts: []types.NsxtAppPortProfilePort{
8585
types.NsxtAppPortProfilePort{
8686
Protocol: "ICMPv4",
87-
DestinationPorts: []string{},
87+
DestinationPorts: []string{"any"},
8888
},
8989
},
9090
OrgRef: &types.OpenApiReference{ID: org.Org.ID, Name: org.Org.Name},

0 commit comments

Comments
 (0)