diff --git a/provider/data_source_keycloak_authentication_flow_test.go b/provider/data_source_keycloak_authentication_flow_test.go index f845121b4..06cd11c4a 100644 --- a/provider/data_source_keycloak_authentication_flow_test.go +++ b/provider/data_source_keycloak_authentication_flow_test.go @@ -61,7 +61,7 @@ func TestAccKeycloakDataSourceAuthenticationExecution_wrongAlias(t *testing.T) { resource.Test(t, resource.TestCase{ ProviderFactories: testAccProviderFactories, PreCheck: func() { testAccPreCheck(t) }, - CheckDestroy: testAccCheckKeycloakAuthenticationExecutionConfigDestroy, + CheckDestroy: testAccCheckKeycloakAuthenticationFlowDestroy(), Steps: []resource.TestStep{ { Config: testDataSourceKeycloakAuthenticationFlow_wrongAlias(alias),