aboutsummaryrefslogtreecommitdiffhomepage
path: root/statuscake
diff options
context:
space:
mode:
authorMat Schaffer <mat@schaffer.me>2018-02-01 16:10:53 +0900
committerMat Schaffer <mat@schaffer.me>2018-02-01 16:10:53 +0900
commitd01e3cca165df6d7d4a9d2a6cf30ed5a7bed9a4c (patch)
tree60a46c0e97236cda5942735f1442f4b9b220b6c1 /statuscake
parent5c7efdcb8c0a6d3d21f1fb1481bb95e402296d77 (diff)
downloadterraform-provider-statuscake-d01e3cca165df6d7d4a9d2a6cf30ed5a7bed9a4c.tar.gz
terraform-provider-statuscake-d01e3cca165df6d7d4a9d2a6cf30ed5a7bed9a4c.tar.zst
terraform-provider-statuscake-d01e3cca165df6d7d4a9d2a6cf30ed5a7bed9a4c.zip
Fix status & uptime assertions
They were present in the details but the values were different during my testing. Hopefully this proves true for all future testing.
Diffstat (limited to 'statuscake')
-rw-r--r--statuscake/resource_statuscaketest_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/statuscake/resource_statuscaketest_test.go b/statuscake/resource_statuscaketest_test.go
index ea69756..62d6bf9 100644
--- a/statuscake/resource_statuscaketest_test.go
+++ b/statuscake/resource_statuscaketest_test.go
@@ -76,8 +76,8 @@ func TestAccStatusCake_withUpdate(t *testing.T) {
76 resource.TestCheckResourceAttr("statuscake_test.google", "trigger_rate", "20"), 76 resource.TestCheckResourceAttr("statuscake_test.google", "trigger_rate", "20"),
77 resource.TestCheckResourceAttr("statuscake_test.google", "custom_header", "{ \"Content-Type\": \"application/x-www-form-urlencoded\" }"), 77 resource.TestCheckResourceAttr("statuscake_test.google", "custom_header", "{ \"Content-Type\": \"application/x-www-form-urlencoded\" }"),
78 resource.TestCheckResourceAttr("statuscake_test.google", "user_agent", "string9988"), 78 resource.TestCheckResourceAttr("statuscake_test.google", "user_agent", "string9988"),
79 resource.TestCheckResourceAttr("statuscake_test.google", "status", "string22117"), 79 resource.TestCheckResourceAttr("statuscake_test.google", "status", "Up"),
80 resource.TestCheckResourceAttr("statuscake_test.google", "uptime", "3498.27"), 80 resource.TestCheckResourceAttr("statuscake_test.google", "uptime", "0"),
81 resource.TestCheckResourceAttr("statuscake_test.google", "node_locations.#", "3"), 81 resource.TestCheckResourceAttr("statuscake_test.google", "node_locations.#", "3"),
82 resource.TestCheckResourceAttr("statuscake_test.google", "node_locations.0", "string16045"), 82 resource.TestCheckResourceAttr("statuscake_test.google", "node_locations.0", "string16045"),
83 resource.TestCheckResourceAttr("statuscake_test.google", "node_locations.1", "string19741"), 83 resource.TestCheckResourceAttr("statuscake_test.google", "node_locations.1", "string19741"),