Skip to content

Commit

Permalink
-s "adding test cases"
Browse files Browse the repository at this point in the history
Signed-off-by: May Zhang <[email protected]>
  • Loading branch information
mayzhang2000 committed Aug 7, 2023
1 parent 815b719 commit 976fc5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func controllerRunAndVerifyResult(t *testing.T, factorySupport bool) {
patchCh <- action.(kubetesting.PatchAction).GetPatch()
return true, nil, nil
})
ctrl, api, err := newController(t, ctx, client, false)
ctrl, api, err := newController(t, ctx, client, factorySupport)
assert.NoError(t, err)
api.EXPECT().RunTrigger("my-trigger", gomock.Any()).Return([]triggers.ConditionResult{{Triggered: false}}, nil)

Expand Down

0 comments on commit 976fc5a

Please sign in to comment.