Skip to content

Commit

Permalink
enh: Improve test on resource netbox_dcim_site
Browse files Browse the repository at this point in the history
  • Loading branch information
smutel committed Apr 22, 2023
1 parent ea33489 commit 8077515
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions netbox/dcim/resource_netbox_dcim_site_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ func testAccCheckNetboxDcimSiteConfig(nameSuffix string, resourceFull, extraReso
# slug = "test-{{ .namesuffix }}"
#}
#resource "netbox_dcim_region" "test" {
# name = "test-{{ .namesuffix }}"
# slug = "test-{{ .namesuffix }}"
#}
resource "netbox_dcim_region" "test" {
name = "test-{{ .namesuffix }}"
slug = "test-{{ .namesuffix }}"
}
resource "netbox_ipam_rir" "test" {
name = "test-{{ .namesuffix }}"
Expand Down Expand Up @@ -134,7 +134,7 @@ func testAccCheckNetboxDcimSiteConfig(nameSuffix string, resourceFull, extraReso
description = "Test device role"
facility = "TestFaciliy1"
#group_id = netbox_dcim_site_group.test.id
#region_id = netbox_dcim_region.test.id
region_id = netbox_dcim_region.test.id
latitude = 12.54632
longitude = 41.21632
tenant_id = netbox_tenancy_tenant.test.id
Expand Down

0 comments on commit 8077515

Please sign in to comment.