From: Mat Schaffer Date: Thu, 1 Feb 2018 07:10:15 +0000 (+0900) Subject: Remove status codes default X-Git-Tag: v0.2.0~5^2~2^2~3 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=5c7efdcb8c0a6d3d21f1fb1481bb95e402296d77;p=github%2Ffretlink%2Fterraform-provider-statuscake.git Remove status codes default In my testing, the default response was `[""]` and having the default provided cause test assertion failures --- diff --git a/statuscake/resource_statuscaketest.go b/statuscake/resource_statuscaketest.go index e824955..8e67bcd 100644 --- a/statuscake/resource_statuscaketest.go +++ b/statuscake/resource_statuscaketest.go @@ -176,10 +176,6 @@ func resourceStatusCakeTest() *schema.Resource { "status_codes": { Type: schema.TypeString, Optional: true, - Default: "204, 205, 206, 303, 400, 401, 403, 404, 405, 406, " + - "408, 410, 413, 444, 429, 494, 495, 496, 499, 500, 501, 502, 503, " + - "504, 505, 506, 507, 508, 509, 510, 511, 521, 522, 523, 524, 520, " + - "598, 599", }, "use_jar": {