Skip to content

Commit

Permalink
make ZT an initialism
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed May 24, 2024
1 parent 3852fd9 commit b78c442
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 @@ -134,7 +134,7 @@ type TeamsDeviceSettings struct {
GatewayProxyEnabled bool `json:"gateway_proxy_enabled"`
GatewayProxyUDPEnabled bool `json:"gateway_udp_proxy_enabled"`
RootCertificateInstallationEnabled bool `json:"root_certificate_installation_enabled"`
UseZtVirtualIP bool `json:"use_zt_virtual_ip"`
UseZTVirtualIP bool `json:"use_zt_virtual_ip"`
}

type TeamsDeviceSettingsResponse 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 @@ -302,7 +302,7 @@ func TestTeamsAccountGetDeviceConfiguration(t *testing.T) {
GatewayProxyEnabled: true,
GatewayProxyUDPEnabled: false,
RootCertificateInstallationEnabled: true,
UseZtVirtualIP: false,
UseZTVirtualIP: false,
})
}
}
Expand All @@ -328,15 +328,15 @@ func TestTeamsAccountUpdateDeviceConfiguration(t *testing.T) {
GatewayProxyUDPEnabled: true,
GatewayProxyEnabled: true,
RootCertificateInstallationEnabled: true,
UseZtVirtualIP: true,
UseZTVirtualIP: true,
})

if assert.NoError(t, err) {
assert.Equal(t, actual, TeamsDeviceSettings{
GatewayProxyEnabled: true,
GatewayProxyUDPEnabled: true,
RootCertificateInstallationEnabled: true,
UseZtVirtualIP: true,
UseZTVirtualIP: true,
})
}
}

0 comments on commit b78c442

Please # to comment.