Skip to content

Commit eedc931

Browse files
committed
SUMO-0 add tests
1 parent caf60a5 commit eedc931

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sumologic/resource_sumologic_field_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,10 @@ func TestAccSumologicFieldUpdate_OnlyStateFieldIsUpdatable(t *testing.T) {
130130
state = "%s"
131131
}
132132
`, testFieldName, updatedDataType, testState),
133-
PlanOnly: true,
134133
ExpectError: regexp.MustCompile("Only state field is updatable"),
134+
Check: resource.ComposeTestCheckFunc(
135+
resource.TestCheckResourceAttr(resourceName, "data_type", testDataType),
136+
),
135137
},
136138
},
137139
})

0 commit comments

Comments
 (0)