Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cnolan committed Oct 14, 2024
1 parent 56b401d commit 8c1e375
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/controller/bucket/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ func TestUpdate(t *testing.T) {
autoPauseBucket: tc.fields.autoPauseBucket,
minReplicas: 1,
log: logging.NewNopLogger(),
subresourceClients: NewSubresourceClients(tc.fields.backendStore, s3ClientHandler, logging.NewNopLogger()),
subresourceClients: NewSubresourceClients(tc.fields.backendStore, s3ClientHandler, SubresourceClientConfig{}, logging.NewNopLogger()),
}

got, err := e.Update(context.Background(), tc.args.mg)
Expand Down Expand Up @@ -798,7 +798,7 @@ func TestUpdateLifecycleConfigSubResource(t *testing.T) {
autoPauseBucket: tc.fields.autoPauseBucket,
minReplicas: 1,
log: logging.NewNopLogger(),
subresourceClients: NewSubresourceClients(tc.fields.backendStore, s3ClientHandler, logging.NewNopLogger()),
subresourceClients: NewSubresourceClients(tc.fields.backendStore, s3ClientHandler, SubresourceClientConfig{}, logging.NewNopLogger()),
}

got, err := e.Update(context.Background(), tc.args.mg)
Expand Down Expand Up @@ -1098,7 +1098,7 @@ func TestUpdateVersioningConfigSubResource(t *testing.T) {
autoPauseBucket: tc.fields.autoPauseBucket,
minReplicas: 1,
log: logging.NewNopLogger(),
subresourceClients: NewSubresourceClients(tc.fields.backendStore, s3ClientHandler, logging.NewNopLogger()),
subresourceClients: NewSubresourceClients(tc.fields.backendStore, s3ClientHandler, SubresourceClientConfig{}, logging.NewNopLogger()),
}

got, err := e.Update(context.Background(), tc.args.mg)
Expand Down Expand Up @@ -1403,7 +1403,7 @@ func TestUpdateObjectLockConfigSubResource(t *testing.T) {
autoPauseBucket: tc.fields.autoPauseBucket,
minReplicas: 1,
log: logging.NewNopLogger(),
subresourceClients: NewSubresourceClients(tc.fields.backendStore, s3ClientHandler, logging.NewNopLogger()),
subresourceClients: NewSubresourceClients(tc.fields.backendStore, s3ClientHandler, SubresourceClientConfig{}, logging.NewNopLogger()),
}

got, err := e.Update(context.Background(), tc.args.mg)
Expand Down

0 comments on commit 8c1e375

Please sign in to comment.