From 99fd1e227dd582ce5252b2e42f051e33c03598a4 Mon Sep 17 00:00:00 2001 From: Francis Chuang Date: Wed, 29 May 2024 11:16:02 +1000 Subject: [PATCH] Fix acceptance test --- .../resource_cloudflare_access_application_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/sdkv2provider/resource_cloudflare_access_application_test.go b/internal/sdkv2provider/resource_cloudflare_access_application_test.go index bc3e17cb1b..6e0a273403 100644 --- a/internal/sdkv2provider/resource_cloudflare_access_application_test.go +++ b/internal/sdkv2provider/resource_cloudflare_access_application_test.go @@ -1042,13 +1042,13 @@ func TestAccCloudflareAccessApplication_AuthTypeForcesNewResource(t *testing.T) { Config: testAccCloudflareAccessApplicationConfigWithSAMLSaas(rnd, accountID), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr(name, "saas_app.auth_type", "saml"), + resource.TestCheckResourceAttr(name, "saas_app.0.auth_type", "saml"), ), }, { Config: testAccCloudflareAccessApplicationConfigWithOIDCSaas(rnd, accountID), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr(name, "saas_app.auth_type", "oidc"), + resource.TestCheckResourceAttr(name, "saas_app.0.auth_type", "oidc"), ), }, },