Skip to content

Commit

Permalink
Fid property name in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
favoretti committed Feb 26, 2025
1 parent 99bf40c commit 65a2b35
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions internal/services/apicenter/api_center_environment_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ provider "azurerm" {
%s
resource "azurerm_api_center_environment" "test" {
name = "test"
service_id = azurerm_api_center_service.test.id
title = "testtitle"
environment_type = "testing"
description = "testing environment"
name = "test"
api_center_service_id = azurerm_api_center_service.test.id
title = "testtitle"
environment_type = "testing"
description = "testing environment"
}`, template)
}

Expand All @@ -133,7 +133,7 @@ provider "azurerm" {
resource "azurerm_api_center_environment" "test" {
name = "test"
service_id = azurerm_api_center_service.test.id
api_center_service_id = azurerm_api_center_service.test.id
title = "testtitle"
environment_type = "testing"
description = "testing environment"
Expand All @@ -156,7 +156,7 @@ provider "azurerm" {
resource "azurerm_api_center_environment" "test" {
name = "test"
service_id = azurerm_api_center_service.test.id
api_center_service_id = azurerm_api_center_service.test.id
title = "testtitle"
environment_type = "testing"
description = "testing environment 2"
Expand All @@ -174,10 +174,10 @@ func (ApiCenterEnvironmentResource) requiresImport(data acceptance.TestData) str
%s
resource "azurerm_api_center_environment" "import" {
name = azurerm_api_center_environment.test.name
service_id = azurerm_api_center_environment.test.service_id
title = azurerm_api_center_environment.test.title
environment_type = azurerm_api_center_environment.test.environment_type
name = azurerm_api_center_environment.test.name
api_center_service_id = azurerm_api_center_environment.test.service_id
title = azurerm_api_center_environment.test.title
environment_type = azurerm_api_center_environment.test.environment_type
}
`, template)
}

0 comments on commit 65a2b35

Please sign in to comment.