@@ -50,28 +50,12 @@ func TestAccessApplicationNewWithOptionalParams(t *testing.T) {
50
50
CustomDenyURL : cloudflare .F ("custom_deny_url" ),
51
51
CustomNonIdentityDenyURL : cloudflare .F ("custom_non_identity_deny_url" ),
52
52
CustomPages : cloudflare .F ([]string {"699d98642c564d2e855e9661899b7252" }),
53
- Destinations : cloudflare .F ([]zero_trust.AccessApplicationNewParamsBodySelfHostedApplicationDestination {{
54
- Type : cloudflare .F (zero_trust .AccessApplicationNewParamsBodySelfHostedApplicationDestinationsTypePublic ),
55
- URI : cloudflare .F ("test.example.com/admin" ),
56
- }, {
57
- Type : cloudflare .F (zero_trust .AccessApplicationNewParamsBodySelfHostedApplicationDestinationsTypePublic ),
58
- URI : cloudflare .F ("test.anotherexample.com/staff" ),
59
- }, {
60
- Type : cloudflare .F (zero_trust .AccessApplicationNewParamsBodySelfHostedApplicationDestinationsTypePublic ),
61
- URI : cloudflare .F ("10.5.0.2" ),
62
- }, {
63
- Type : cloudflare .F (zero_trust .AccessApplicationNewParamsBodySelfHostedApplicationDestinationsTypePublic ),
64
- URI : cloudflare .F ("10.5.0.3/32:1234-4321" ),
65
- }, {
66
- Type : cloudflare .F (zero_trust .AccessApplicationNewParamsBodySelfHostedApplicationDestinationsTypePublic ),
67
- URI : cloudflare .F ("private-sni.example.com" ),
68
- }}),
69
- EnableBindingCookie : cloudflare .F (true ),
70
- HTTPOnlyCookieAttribute : cloudflare .F (true ),
71
- LogoURL : cloudflare .F ("https://www.cloudflare.com/img/logo-web-badges/cf-logo-on-white-bg.svg" ),
72
- Name : cloudflare .F ("Admin Site" ),
73
- OptionsPreflightBypass : cloudflare .F (true ),
74
- PathCookieAttribute : cloudflare .F (true ),
53
+ EnableBindingCookie : cloudflare .F (true ),
54
+ HTTPOnlyCookieAttribute : cloudflare .F (true ),
55
+ LogoURL : cloudflare .F ("https://www.cloudflare.com/img/logo-web-badges/cf-logo-on-white-bg.svg" ),
56
+ Name : cloudflare .F ("Admin Site" ),
57
+ OptionsPreflightBypass : cloudflare .F (true ),
58
+ PathCookieAttribute : cloudflare .F (true ),
75
59
Policies : cloudflare .F ([]zero_trust.AccessApplicationNewParamsBodySelfHostedApplicationPolicyUnion {zero_trust.AccessApplicationNewParamsBodySelfHostedApplicationPoliciesAccessAppPolicyLink {
76
60
ID : cloudflare .F ("f174e90a-fafe-4643-bbbc-4a0ed4fc8415" ),
77
61
Precedence : cloudflare .F (int64 (0 )),
@@ -156,28 +140,12 @@ func TestAccessApplicationUpdateWithOptionalParams(t *testing.T) {
156
140
CustomDenyURL : cloudflare .F ("custom_deny_url" ),
157
141
CustomNonIdentityDenyURL : cloudflare .F ("custom_non_identity_deny_url" ),
158
142
CustomPages : cloudflare .F ([]string {"699d98642c564d2e855e9661899b7252" }),
159
- Destinations : cloudflare .F ([]zero_trust.AccessApplicationUpdateParamsBodySelfHostedApplicationDestination {{
160
- Type : cloudflare .F (zero_trust .AccessApplicationUpdateParamsBodySelfHostedApplicationDestinationsTypePublic ),
161
- URI : cloudflare .F ("test.example.com/admin" ),
162
- }, {
163
- Type : cloudflare .F (zero_trust .AccessApplicationUpdateParamsBodySelfHostedApplicationDestinationsTypePublic ),
164
- URI : cloudflare .F ("test.anotherexample.com/staff" ),
165
- }, {
166
- Type : cloudflare .F (zero_trust .AccessApplicationUpdateParamsBodySelfHostedApplicationDestinationsTypePublic ),
167
- URI : cloudflare .F ("10.5.0.2" ),
168
- }, {
169
- Type : cloudflare .F (zero_trust .AccessApplicationUpdateParamsBodySelfHostedApplicationDestinationsTypePublic ),
170
- URI : cloudflare .F ("10.5.0.3/32:1234-4321" ),
171
- }, {
172
- Type : cloudflare .F (zero_trust .AccessApplicationUpdateParamsBodySelfHostedApplicationDestinationsTypePublic ),
173
- URI : cloudflare .F ("private-sni.example.com" ),
174
- }}),
175
- EnableBindingCookie : cloudflare .F (true ),
176
- HTTPOnlyCookieAttribute : cloudflare .F (true ),
177
- LogoURL : cloudflare .F ("https://www.cloudflare.com/img/logo-web-badges/cf-logo-on-white-bg.svg" ),
178
- Name : cloudflare .F ("Admin Site" ),
179
- OptionsPreflightBypass : cloudflare .F (true ),
180
- PathCookieAttribute : cloudflare .F (true ),
143
+ EnableBindingCookie : cloudflare .F (true ),
144
+ HTTPOnlyCookieAttribute : cloudflare .F (true ),
145
+ LogoURL : cloudflare .F ("https://www.cloudflare.com/img/logo-web-badges/cf-logo-on-white-bg.svg" ),
146
+ Name : cloudflare .F ("Admin Site" ),
147
+ OptionsPreflightBypass : cloudflare .F (true ),
148
+ PathCookieAttribute : cloudflare .F (true ),
181
149
Policies : cloudflare .F ([]zero_trust.AccessApplicationUpdateParamsBodySelfHostedApplicationPolicyUnion {zero_trust.AccessApplicationUpdateParamsBodySelfHostedApplicationPoliciesAccessAppPolicyLink {
182
150
ID : cloudflare .F ("f174e90a-fafe-4643-bbbc-4a0ed4fc8415" ),
183
151
Precedence : cloudflare .F (int64 (0 )),
0 commit comments