cert-manager/pkg/controller/certificates/trigger
Maël Valais 9305766ff2 trigger-controller: add two unit tests to showcase #3250
Note that I had initially made createCryptoBundle public since I found
it inconvenient to have to pass a testing.T when we know that we should
never be  failing inside this func (I mean, the failure  zould not be due
to a wrong test case).

After a comment from Maartje, I realize that I could just use an anonymous
function for that purpose.

Signed-off-by: Maël Valais <mael@vls.dev>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-04-06 18:09:27 +02:00
..
policies Update PR after rebase 2021-03-15 09:00:07 +00:00
BUILD.bazel trigger-controller: add two unit tests to showcase #3250 2021-04-06 18:09:27 +02:00
trigger_controller_test.go trigger-controller: add two unit tests to showcase #3250 2021-04-06 18:09:27 +02:00
trigger_controller.go Merge pull request #3788 from maelvls/refactor-trigger-unit-tests 2021-03-25 11:41:36 +00:00