Skip to content

Commit d763ced

Browse files
committed
CSRE-183: changes to tests
1 parent 0e468ef commit d763ced

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sumologic/resource_sumologic_data_forwarding.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ func resourceSumologicDataForwarding() *schema.Resource {
2121
"destination_name": {
2222
Type: schema.TypeString,
2323
Required: true,
24-
//What validation func do we need for this fields?
2524
},
2625
"description": {
2726
Type: schema.TypeString,

sumologic/resource_sumologic_data_forwarding_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@ func TestAccSumologicDataForwarding_update(t *testing.T) {
106106
func TestAccSumologicDataForwarding_delete(t *testing.T) {
107107
dataForwardingResourceName, destinationName, description, region, testAwsRoleArn, testAwsBucket := getTestParams()
108108
resource.Test(t, resource.TestCase{
109-
PreCheck: func() { testAccPreCheckWithAWS(t) },
110-
Providers: testAccProviders,
109+
PreCheck: func() { testAccPreCheckWithAWS(t) },
110+
Providers: testAccProviders,
111+
CheckDestroy: testAccCheckDataForwardingDestroy(),
111112
Steps: []resource.TestStep{
112113
{
113114
Config: testAccSumologicDataForwardingCreateConfig(destinationName, description, testAwsBucket, testAwsRoleArn, region),

0 commit comments

Comments
 (0)