From 6e50bff5d25ec044be6e453ed0426270e9bb34e1 Mon Sep 17 00:00:00 2001 From: Alex Ott Date: Thu, 17 Oct 2024 10:41:23 +0200 Subject: [PATCH] Fix null pointer crash in the acceptance test --- .../data_notification_destinations_acc_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/providers/pluginfw/resources/notificationdestinations/data_notification_destinations_acc_test.go b/internal/providers/pluginfw/resources/notificationdestinations/data_notification_destinations_acc_test.go index b269f0212..cf72b0da2 100644 --- a/internal/providers/pluginfw/resources/notificationdestinations/data_notification_destinations_acc_test.go +++ b/internal/providers/pluginfw/resources/notificationdestinations/data_notification_destinations_acc_test.go @@ -45,7 +45,7 @@ func TestAccNotificationsCreation(t *testing.T) { } } - resource "databricks_notification_destination" "notification" { + resource "databricks_notification_destination" "slack_notification" { display_name = "slack notification destination" config { slack { @@ -55,7 +55,7 @@ func TestAccNotificationsCreation(t *testing.T) { } data "databricks_notification_destinations" "this" { - depends_on = [databricks_notification_destination.email_notification, databricks_notification_destination.notification] + depends_on = [databricks_notification_destination.email_notification, databricks_notification_destination.slack_notification] } `, Check: CheckDataSourceNotificationsPopulated(t),