From fc1c144daaeff169b48607d2a89037080fa56886 Mon Sep 17 00:00:00 2001 From: Jason Harley Date: Fri, 8 Sep 2023 14:05:19 -0400 Subject: [PATCH] remove test for validation I'm comfortable with Terraform handling this well --- honeycombio/resource_column_test.go | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/honeycombio/resource_column_test.go b/honeycombio/resource_column_test.go index efed68eb..553c19de 100644 --- a/honeycombio/resource_column_test.go +++ b/honeycombio/resource_column_test.go @@ -3,7 +3,6 @@ package honeycombio import ( "context" "fmt" - "regexp" "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest" @@ -61,28 +60,3 @@ resource "honeycombio_column" "test" { dataset = "%s" }`, keyName, dataset) } - -func TestAccHoneycombioColumn_validationErrors(t *testing.T) { - dataset := testAccDataset() - - resource.ParallelTest(t, resource.TestCase{ - PreCheck: testAccPreCheck(t), - ProviderFactories: testAccProviderFactories, - Steps: []resource.TestStep{ - { - Config: testAccColumnConfigWithType(dataset, "string"), - ExpectError: regexp.MustCompile(`expected type to be one of \[string float integer boolean\], got String`), - }, - }, - }) -} - -func testAccColumnConfigWithType(dataset, typeStr string) string { - return fmt.Sprintf(` -resource "honeycombio_column" "test" { - key_name = "duration_ms_test" - type = "%s" - - dataset = "%s" -}`, typeStr, dataset) -}