Skip to content

Commit

Permalink
fix: Add missing dependency in prefixes test
Browse files Browse the repository at this point in the history
  • Loading branch information
fbreckle committed Jan 2, 2023
1 parent f0e62ea commit 471b87a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netbox/data_source_netbox_prefixes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func TestAccNetboxPrefixesDataSource_basic(t *testing.T) {
testSlug := "prefixes_ds_basic"
testVlanVids := []int{4093, 4094}
testName := testAccGetTestName(testSlug)
resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: testAccProviders,
Steps: []resource.TestStep{
{
Expand Down Expand Up @@ -52,7 +52,7 @@ resource "netbox_vlan" "test_vlan2" {
}
data "netbox_prefixes" "by_vrf" {
depends_on = [netbox_prefix.test_prefix1]
depends_on = [netbox_prefix.test_prefix1, netbox_prefix.test_prefix2]
filter {
name = "vrf_id"
value = netbox_vrf.test_vrf.id
Expand Down

0 comments on commit 471b87a

Please sign in to comment.