diff --git a/api/v1alpha2/workspace_validation_test.go b/api/v1alpha2/workspace_validation_test.go index 4e3d51e4..c15aa817 100644 --- a/api/v1alpha2/workspace_validation_test.go +++ b/api/v1alpha2/workspace_validation_test.go @@ -115,7 +115,7 @@ func TestValidateWorkspaceSpecNotifications(t *testing.T) { t.Parallel() token := "token" - url := "https://example.com" + url := "https://www.hashicorp.com" successCases := map[string]Workspace{ "OnlyEmailAddresses": { Spec: WorkspaceSpec{ diff --git a/controllers/workspace_controller_notifications_test.go b/controllers/workspace_controller_notifications_test.go index a368be28..6af6d1ad 100644 --- a/controllers/workspace_controller_notifications_test.go +++ b/controllers/workspace_controller_notifications_test.go @@ -85,7 +85,7 @@ var _ = Describe("Workspace controller", Label("Notifications"), Ordered, func() instance.Spec.Notifications = append(instance.Spec.Notifications, appv1alpha2.Notification{ Name: "slack", Type: tfc.NotificationDestinationTypeSlack, - URL: "https://example.com", + URL: "https://www.hashicorp.com", }) // Create a new Kubernetes workspace object and wait until the controller finishes the reconciliation createWorkspace(instance) @@ -100,7 +100,7 @@ var _ = Describe("Workspace controller", Label("Notifications"), Ordered, func() instance.Spec.Notifications = append(instance.Spec.Notifications, appv1alpha2.Notification{ Name: "slack", Type: tfc.NotificationDestinationTypeSlack, - URL: "https://example.com", + URL: "https://www.hashicorp.com", }) instance.Spec.Notifications = append(instance.Spec.Notifications, appv1alpha2.Notification{ Name: "email", @@ -120,7 +120,7 @@ var _ = Describe("Workspace controller", Label("Notifications"), Ordered, func() instance.Spec.Notifications = append(instance.Spec.Notifications, appv1alpha2.Notification{ Name: "slack", Type: tfc.NotificationDestinationTypeSlack, - URL: "https://example.com", + URL: "https://www.hashicorp.com", }) // Create a new Kubernetes workspace object and wait until the controller finishes the reconciliation createWorkspace(instance) diff --git a/controllers/workspace_controller_run_tasks_test.go b/controllers/workspace_controller_run_tasks_test.go index 49767473..23dcb26d 100644 --- a/controllers/workspace_controller_run_tasks_test.go +++ b/controllers/workspace_controller_run_tasks_test.go @@ -238,7 +238,7 @@ func isRunTasksReconciled(instance *appv1alpha2.Workspace) { func createRunTaskForTest(name string) string { rt, err := tfClient.RunTasks.Create(ctx, organization, tfc.RunTaskCreateOptions{ Name: name, - URL: "https://example.com", + URL: "https://www.hashicorp.com", Category: "task", // MUST BE "task" Enabled: tfc.Bool(true), })