Skip to content

Commit 286ed71

Browse files
Fix failing test
1 parent a569a23 commit 286ed71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/framework/objects/webhook/data_source_acceptance_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func TestDbtCloudWebhookDataSource(t *testing.T) {
1616
config := webhooks(randomWebhookName, randomWebhookDescription)
1717

1818
check := resource.ComposeAggregateTestCheckFunc(
19-
resource.TestCheckResourceAttrSet("data.dbtcloud_webhook.test", "webhook_id"),
19+
resource.TestCheckResourceAttrSet("data.dbtcloud_webhook.test", "id"),
2020
resource.TestCheckResourceAttr("data.dbtcloud_webhook.test", "name", randomWebhookName),
2121
resource.TestCheckResourceAttr(
2222
"data.dbtcloud_webhook.test",
@@ -55,7 +55,7 @@ func webhooks(webhookName string, webhookDesc string) string {
5555
}
5656
5757
data "dbtcloud_webhook" "test" {
58-
webhook_id = dbtcloud_webhook.test_webhook.id
58+
id = dbtcloud_webhook.test_webhook.id
5959
}
6060
`, webhookName, webhookDesc)
6161
}

0 commit comments

Comments
 (0)