diff --git a/azurerm/internal/services/frontdoor/tests/front_door_resource_test.go b/azurerm/internal/services/frontdoor/tests/front_door_resource_test.go
index <HASH>..<HASH> 100644
--- a/azurerm/internal/services/frontdoor/tests/front_door_resource_test.go
+++ b/azurerm/internal/services/frontdoor/tests/front_door_resource_test.go
@@ -267,7 +267,7 @@ func testCheckAzureRMFrontDoorDestroy(s *terraform.State) error {
 	ctx := acceptance.AzureProvider.Meta().(*clients.Client).StopContext
 
 	for _, rs := range s.RootModule().Resources {
-		if rs.Type != "azurerm_front_door" {
+		if rs.Type != "azurerm_frontdoor" {
 			continue
 		}
r/frontdoor: fixing an issue where the checkdestroy function was checking the wrong resource name