]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blobdiff - statuscake/resource_statuscaketest_test.go
merge changes from https://github.com/DreamItGetIT/statuscake/pull/24 to vendor directory
[github/fretlink/terraform-provider-statuscake.git] / statuscake / resource_statuscaketest_test.go
index 99acd0409281413e889e8270ca74730ab585456a..b727e9267572e06a767a5908a4817c1359ccd8f9 100644 (file)
@@ -162,7 +162,7 @@ func testAccTestCheckAttributes(rn string, test *statuscake.Test) resource.TestC
                        case "timeout":
                                err = check(key, value, strconv.Itoa(test.Timeout))
                        case "contact_id":
-                               err = check(key, value, test.ContactID)
+                               err = check(key, value, strconv.Itoa(test.ContactID))
                        case "confirmations":
                                err = check(key, value, strconv.Itoa(test.Confirmation))
                        case "trigger_rate":
@@ -240,7 +240,7 @@ resource "statuscake_test" "google" {
        test_type = "HTTP"
        check_rate = 300
        timeout = 10
-       contact_id = "43402"
+       contact_id = 43402
        confirmations = 1
        trigger_rate = 10
 }
@@ -284,7 +284,7 @@ resource "statuscake_test" "google" {
        test_type = "TCP"
        check_rate = 300
        timeout = 10
-       contact_id = "43402"
+       contact_id = 43402
        confirmations = 1
        port = 80
 }