Skip to content

Commit 99aab18

Browse files
author
David J. M. Karlsen
committed
Signed-off-by: David J. M. Karlsen <[email protected]>
1 parent 179dc59 commit 99aab18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/githubactionrunner_controller_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func TestGithubactionRunnerController(t *testing.T) {
110110
s := scheme.Scheme
111111
s.AddKnownTypes(v1alpha1.SchemeBuilder.GroupVersion, runner)
112112

113-
cl := fake.NewClientBuilder().WithScheme(s).WithRuntimeObjects(objs...).Build()
113+
cl := fake.NewClientBuilder().WithScheme(s).WithRuntimeObjects(objs...).WithStatusSubresource(runner).Build()
114114

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

0 commit comments

Comments
 (0)