From 6e2bc42406c091cffd9b90e0f5c45d13d8533bbb Mon Sep 17 00:00:00 2001 From: njucz Date: Sun, 28 Jun 2020 13:04:55 +0800 Subject: [PATCH] update test case --- .../keyvault/tests/key_vault_certificate_resource_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azurerm/internal/services/keyvault/tests/key_vault_certificate_resource_test.go b/azurerm/internal/services/keyvault/tests/key_vault_certificate_resource_test.go index cbfc295f15c7..9a1e4b13fd3b 100644 --- a/azurerm/internal/services/keyvault/tests/key_vault_certificate_resource_test.go +++ b/azurerm/internal/services/keyvault/tests/key_vault_certificate_resource_test.go @@ -112,7 +112,7 @@ func TestAccAzureRMKeyVaultCertificate_basicGenerate(t *testing.T) { resource.TestCheckResourceAttrSet(data.ResourceName, "secret_id"), resource.TestCheckResourceAttrSet(data.ResourceName, "certificate_data"), resource.TestCheckResourceAttrSet(data.ResourceName, "thumbprint"), - resource.TestCheckResourceAttrSet(data.ResourceName, "certificate_attribute"), + resource.TestCheckResourceAttrSet(data.ResourceName, "certificate_attribute.0.created"), ), }, data.ImportStep(),