Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: David J. M. Karlsen <david.johan.macdonald.karlsen@dnb.no>
  • Loading branch information
David J. M. Karlsen committed Sep 1, 2023
1 parent bf3dd16 commit 165da33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/githubactionrunner_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func TestGithubactionRunnerController(t *testing.T) {
s := scheme.Scheme
s.AddKnownTypes(v1alpha1.SchemeBuilder.GroupVersion, runner)

cl := fake.NewClientBuilder().WithScheme(s).WithRuntimeObjects(objs...).Build()
cl := fake.NewClientBuilder().WithScheme(s).WithRuntimeObjects(objs...).WithStatusSubresource(runner).Build()

fakeRecorder := record.NewFakeRecorder(10)
r := &GithubActionRunnerReconciler{ReconcilerBase: util.NewReconcilerBase(cl, s, nil, fakeRecorder, nil), Log: zap.New(), GithubAPI: mockAPI}
Expand Down

0 comments on commit 165da33

Please sign in to comment.