From f5ddd13eca05cbf11d38104db33ff9e1b707cfab Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Mon, 6 May 2024 11:34:11 +1000 Subject: [PATCH] fix initialisms --- access_application.go | 4 ++-- access_application_test.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/access_application.go b/access_application.go index 3284bb4f97d..8776a3d54b5 100644 --- a/access_application.go +++ b/access_application.go @@ -57,7 +57,7 @@ type AccessApplication struct { OptionsPreflightBypass *bool `json:"options_preflight_bypass,omitempty"` CustomPages []string `json:"custom_pages,omitempty"` Tags []string `json:"tags,omitempty"` - ScimConfig *AccessApplicationScimConfig `json:"scim_config,omitempty"` + SCIMConfig *AccessApplicationScimConfig `json:"scim_config,omitempty"` AccessAppLauncherCustomization } @@ -83,7 +83,7 @@ type AccessApplicationScimConfig struct { Enabled *bool `json:"enabled,omitempty"` RemoteURI string `json:"remote_uri,omitempty"` Authentication *AccessApplicationScimAuthenticationJson `json:"authentication,omitempty"` - IdpUid string `json:"idp_uid,omitempty"` + IdPUID string `json:"idp_uid,omitempty"` DeactivateOnDelete *bool `json:"deactivate_on_delete,omitempty"` Mappings []*AccessApplicationScimMapping `json:"mappings,omitempty"` } diff --git a/access_application_test.go b/access_application_test.go index fab7bcf41d1..4a6c5d00a98 100644 --- a/access_application_test.go +++ b/access_application_test.go @@ -1095,7 +1095,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) { UpdatedAt: &updatedAt, CustomNonIdentityDenyURL: "https://blocked.com", Tags: []string{"engineers"}, - ScimConfig: &AccessApplicationScimConfig{ + SCIMConfig: &AccessApplicationScimConfig{ Enabled: BoolPtr(true), RemoteURI: "https://scim.com", Authentication: &AccessApplicationScimAuthenticationJson{ @@ -1104,7 +1104,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) { baseScimAuthentication: baseScimAuthentication{Scheme: AccessApplicationScimAuthenticationSchemeOauthBearerToken}, }, }, - IdpUid: "1234567", + IdPUID: "1234567", DeactivateOnDelete: BoolPtr(true), Mappings: []*AccessApplicationScimMapping{ { @@ -1135,7 +1135,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) { baseScimAuthentication: baseScimAuthentication{Scheme: AccessApplicationScimAuthenticationSchemeOauthBearerToken}, }, }, - IdpUid: "1234567", + IdPUID: "1234567", DeactivateOnDelete: BoolPtr(true), Mappings: []*AccessApplicationScimMapping{ { @@ -1170,7 +1170,7 @@ func TestCreateAccessApplicationWithSCIMProvisioning(t *testing.T) { baseScimAuthentication: baseScimAuthentication{Scheme: AccessApplicationScimAuthenticationSchemeOauthBearerToken}, }, }, - IdpUid: "1234567", + IdPUID: "1234567", DeactivateOnDelete: BoolPtr(true), Mappings: []*AccessApplicationScimMapping{ {