From 82cd2924ceb801c729bd83d49327e169f8e2e31b Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Wed, 6 Nov 2024 16:28:35 +0100 Subject: [PATCH] build --- server/v2/api/grpc/service_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/v2/api/grpc/service_test.go b/server/v2/api/grpc/service_test.go index ebe53058c06f..aed0fd3faadc 100644 --- a/server/v2/api/grpc/service_test.go +++ b/server/v2/api/grpc/service_test.go @@ -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 { @@ -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)