fix build
This commit is contained in:
parent
3e992ee802
commit
02b8262ed9
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user