Skip to content

Commit 0f8ba72

Browse files
author
vladhanzha
committed
Fix network create test
1 parent 00c5ae9 commit 0f8ba72

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

e2e/client_test.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,12 @@ func TestCreateNetwork(t *testing.T) {
121121
Subnet: fmt.Sprintf("10.%d.%d.0/24", timestamp%256, (timestamp/256)%256),
122122
}
123123
network := cloudconnexa.Network{
124-
Description: "test",
125-
Egress: false,
126-
Name: testName,
127-
InternetAccess: cloudconnexa.InternetAccessSplitTunnelOn,
128-
Connectors: []cloudconnexa.NetworkConnector{connector},
124+
Description: "test",
125+
Egress: false,
126+
Name: testName,
127+
InternetAccess: cloudconnexa.InternetAccessSplitTunnelOn,
128+
Connectors: []cloudconnexa.NetworkConnector{connector},
129+
TunnelingProtocol: "OPENVPN",
129130
}
130131
response, err := c.Networks.Create(network)
131132
require.NoError(t, err)

0 commit comments

Comments
 (0)