From 385843476cdef23089355025d2560441a0ed67ac Mon Sep 17 00:00:00 2001 From: Sara Elzayat Date: Fri, 10 Nov 2023 03:58:37 +0200 Subject: [PATCH] Fix failing test --- internal/controller/automatedclusterdiscovery_controller_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/controller/automatedclusterdiscovery_controller_test.go b/internal/controller/automatedclusterdiscovery_controller_test.go index f756253..e323117 100644 --- a/internal/controller/automatedclusterdiscovery_controller_test.go +++ b/internal/controller/automatedclusterdiscovery_controller_test.go @@ -201,6 +201,7 @@ func TestAutomatedClusterDiscoveryReconciler(t *testing.T) { AKSProvider: func(providerID string) providers.Provider { return &testProvider }, + EventRecorder: &mockEventRecorder{}, } assert.NoError(t, reconciler.SetupWithManager(mgr))