fix build

This commit is contained in:
ryanfkeepers 2023-11-06 16:35:25 -07:00
parent 3e992ee802
commit 02b8262ed9

View File

@ -260,7 +260,7 @@ func (suite *ControllerUnitSuite) TestPopulateOwnerIDAndNamesFrom_nilCheck() {
ctx, flush := tester.NewContext(t)
defer flush()
ctrl := &Controller{ownerLookup: nil}
ctrl := &Controller{resourceHandler: nil}
_, err := ctrl.PopulateProtectedResourceIDAndName(ctx, "", nil)
require.ErrorIs(t, err, ErrNoResourceLookup, clues.ToCore(err))