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))