Skip to content

Commit 87e22e0

Browse files
author
Dominik Rosiek
committed
Add test for content-type
1 parent 179144c commit 87e22e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sumologic/resource_sumologic_http_source_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ func TestAccSumologicHTTPSource_update(t *testing.T) {
8282
resource.TestCheckResourceAttr("sumologic_http_source.http", "name", sNameUpdated),
8383
resource.TestCheckResourceAttr("sumologic_http_source.http", "description", sDescriptionUpdated),
8484
resource.TestCheckResourceAttr("sumologic_http_source.http", "category", sCategoryUpdated),
85+
resource.TestCheckResourceAttr("sumologic_http_source.http", "content_type", "Zipkin"),
8586
),
8687
},
8788
},
@@ -183,6 +184,7 @@ resource "sumologic_http_source" "http" {
183184
message_per_request = false
184185
category = "%s"
185186
collector_id = "${sumologic_collector.test.id}"
187+
content_type = "Zipkin"
186188
}
187189
`, cName, cDescription, cCategory, sName, sDescription, sCategory)
188190
}

0 commit comments

Comments
 (0)