Skip to content

Commit 2fe8340

Browse files
committed
Fix ABP tests
1 parent 60aa932 commit 2fe8340

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

incapsula/resource_abp_websites_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ func TestAccAbpWebsites_ChangeSiteId(t *testing.T) {
333333
),
334334
},
335335
{
336-
Config: testAccAbpWebsitesChangeSiteId(t, siteId2),
336+
Config: testAccAbpWebsitesChangeSiteId(t, siteId1, siteId2),
337337
Check: resource.ComposeTestCheckFunc(
338338
testAccCheckAbpWebsitesExists(&websitesResponse),
339339
resource.TestCheckResourceAttrSet(abpWebsitesResource, "account_id"),
@@ -446,11 +446,11 @@ func testAccAbpWebsitesBasic(t *testing.T, mitigationEnabled bool, domainName st
446446
website_group {
447447
name = "sites-1"
448448
website {
449-
incapsula_site_id = incapsula_site.%s.id
449+
incapsula_site_id = incapsula_site.testacc-terraform-site.id
450450
enable_mitigation = %t
451451
}
452452
}
453-
}`, abpWebsitesResourceName, accountConfigName, domainName, mitigationEnabled)
453+
}`, abpWebsitesResourceName, accountConfigName, mitigationEnabled)
454454
}
455455

456456
func testAccAbpWebsitesBasic2(t *testing.T, mitigationEnabled bool) string {

0 commit comments

Comments
 (0)