Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ebdekock committed May 27, 2024
1 parent e93e811 commit 46e6702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/vaultdynamicsecret_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,8 @@ func Test_artificialDelay(t *testing.T) {
Client: tt.fields.Client,
}
start := time.Now()
_, _, err := r.syncSecret(tt.args.ctx, tt.args.vClient, tt.args.o)
if !tt.wantErr(t, err, fmt.Sprintf("syncSecret(%v, %v, %v)", tt.args.ctx, tt.args.vClient, tt.args.o)) {
_, _, err := r.syncSecret(tt.args.ctx, tt.args.vClient, tt.args.o, nil)
if !tt.wantErr(t, err, fmt.Sprintf("syncSecret(%v, %v, %v, %v)", tt.args.ctx, tt.args.vClient, tt.args.o, nil)) {
return
}

Expand Down

0 comments on commit 46e6702

Please sign in to comment.