From 149a8ee87a1ef584dad918cef921309752df965a Mon Sep 17 00:00:00 2001 From: Mateusz Filipowicz Date: Mon, 23 Mar 2020 08:08:52 +0100 Subject: [PATCH] fix test --- cloudflare/resource_cloudflare_firewall_rule_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloudflare/resource_cloudflare_firewall_rule_test.go b/cloudflare/resource_cloudflare_firewall_rule_test.go index 61cf57d3637..f5f4c01faf4 100644 --- a/cloudflare/resource_cloudflare_firewall_rule_test.go +++ b/cloudflare/resource_cloudflare_firewall_rule_test.go @@ -89,8 +89,9 @@ func TestFirewallRuleBypass(t *testing.T) { rnd := generateRandomResourceName() name := "cloudflare_firewall_rule." + rnd zoneID := os.Getenv("CLOUDFLARE_ZONE_ID") + domain := os.Getenv("CLOUDFLARE_DOMAIN") - filterQuoted := `(http.host eq \"` + rnd + `\")` + filterQuoted := `(http.host eq \"` + domain + `\")` resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) },