Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Nov 6, 2024
1 parent f3881ef commit 82cd292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/v2/api/grpc/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func TestQuery(t *testing.T) {
tt.setupMock(mockApp)
}

service := &v2Service{mockApp.QueryHandlers(), mockApp}
service := &v2Service{mockApp.QueryHandlers(), mockApp.Query}
resp, err := service.Query(context.Background(), tt.request)

if tt.expectError {
Expand Down Expand Up @@ -192,7 +192,7 @@ func TestV2Service_ListQueryHandlers(t *testing.T) {
tt.setupMock(mockApp)
}

service := &v2Service{mockApp.QueryHandlers(), mockApp}
service := &v2Service{mockApp.QueryHandlers(), mockApp.Query}
resp, err := service.ListQueryHandlers(context.Background(), &ListQueryHandlersRequest{})

assert.NoError(t, err)
Expand Down

0 comments on commit 82cd292

Please sign in to comment.