Skip to content

Commit e95e592

Browse files
committed
fix test
Signed-off-by: Lucas Fontes <[email protected]>
1 parent 3946fa4 commit e95e592

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runtime-operator/api/condition/conditioned_reconciler_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,8 @@ func TestConditionedReconciler(t *testing.T) {
388388
kubeClient := fake.NewClientBuilder().
389389
WithInterceptorFuncs(interceptor).
390390
WithScheme(scheme).
391-
WithObjects(&tc.obj).Build()
391+
WithObjects(&tc.obj).
392+
WithStatusSubresource(&tc.obj).Build()
392393

393394
finalizerFunc := func(ctx context.Context, obj *conditionedResource) error {
394395
if tc.emitFinalizerError {

0 commit comments

Comments
 (0)