From: Paul Stack Date: Thu, 16 Feb 2017 14:20:23 +0000 (+0200) Subject: provider/statuscake: Fixing up the StatusCake acceptance tests (#12006) X-Git-Tag: v0.1.0~4^2~3 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=e7c3fa5620554870596fc3291745089b49eccf8a;hp=-c;p=github%2Ffretlink%2Fterraform-provider-statuscake.git provider/statuscake: Fixing up the StatusCake acceptance tests (#12006) ``` % make testacc TEST=./builtin/providers/statuscake 2 ↵ ✹ ==> Checking that code complies with gofmt requirements... go generate $(go list ./... | grep -v /terraform/vendor/) 2017/02/16 15:30:40 Generated command/internal_plugin_list.go TF_ACC=1 go test ./builtin/providers/statuscake -v -timeout 120m === RUN TestProvider --- PASS: TestProvider (0.00s) === RUN TestProvider_impl --- PASS: TestProvider_impl (0.00s) === RUN TestAccStatusCake_basic --- PASS: TestAccStatusCake_basic (2.14s) === RUN TestAccStatusCake_tcp --- PASS: TestAccStatusCake_tcp (1.66s) === RUN TestAccStatusCake_withUpdate --- PASS: TestAccStatusCake_withUpdate (3.62s) PASS ok github.com/hashicorp/terraform/builtin/providers/statuscake 7.435s ``` --- e7c3fa5620554870596fc3291745089b49eccf8a diff --git a/resource_statuscaketest_test.go b/resource_statuscaketest_test.go index 17940ed..d38dc1c 100644 --- a/resource_statuscaketest_test.go +++ b/resource_statuscaketest_test.go @@ -168,7 +168,7 @@ resource "statuscake_test" "google" { test_type = "HTTP" check_rate = 300 timeout = 10 - contact_id = 12345 + contact_id = 43402 confirmations = 1 } ` @@ -190,7 +190,7 @@ resource "statuscake_test" "google" { test_type = "TCP" check_rate = 300 timeout = 10 - contact_id = 12345 + contact_id = 43402 confirmations = 1 port = 80 }