fix(tests): make tests pass

- change to new api resource

not all tests are passing, but most of them do

Signed-off-by: Ron Green <11993626+georgettica@users.noreply.github.com>
This commit is contained in:
Ron Green
2021-01-26 12:41:32 +02:00
parent ef07b72dbc
commit f0472bde71
3 changed files with 29 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ var _ = Describe("Server Status Request Reconciler", func() {
Log: velerotest.NewLogger(),
}
actualResult, err := r.Reconcile(ctrl.Request{
actualResult, err := r.Reconcile(r.Ctx, ctrl.Request{
NamespacedName: types.NamespacedName{
Namespace: velerov1api.DefaultNamespace,
Name: test.req.Name,