Skip to content

Commit

Permalink
warp as initialism
Browse files Browse the repository at this point in the history
  • Loading branch information
josip-stanic committed May 27, 2024
1 parent 52d6a77 commit c9ff24a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion teams_accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ type TeamsLoggingSettingsResponse struct {

type TeamsConnectivitySettings struct {
ICMPProxyEnabled *bool `json:"icmp_proxy_enabled"`
OfframpWarpEnabled *bool `json:"offramp_warp_enabled"`
OfframpWARPEnabled *bool `json:"offramp_warp_enabled"`
}

type TeamsAccountConnectivitySettingsResponse struct {
Expand Down
6 changes: 3 additions & 3 deletions teams_accounts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ func TestTeamsAccountGetConnectivityConfiguration(t *testing.T) {
if assert.NoError(t, err) {
assert.Equal(t, actual, TeamsConnectivitySettings{
ICMPProxyEnabled: BoolPtr(false),
OfframpWarpEnabled: BoolPtr(false),
OfframpWARPEnabled: BoolPtr(false),
})
}
}
Expand All @@ -387,13 +387,13 @@ func TestTeamsAccountUpdateConnectivityConfiguration(t *testing.T) {

actual, err := client.TeamsAccountConnectivityUpdateConfiguration(context.Background(), testAccountID, TeamsConnectivitySettings{
ICMPProxyEnabled: BoolPtr(true),
OfframpWarpEnabled: BoolPtr(true),
OfframpWARPEnabled: BoolPtr(true),
})

if assert.NoError(t, err) {
assert.Equal(t, actual, TeamsConnectivitySettings{
ICMPProxyEnabled: BoolPtr(true),
OfframpWarpEnabled: BoolPtr(true),
OfframpWARPEnabled: BoolPtr(true),
})
}
}

0 comments on commit c9ff24a

Please sign in to comment.