diff options
author | Sami Hiltunen <shiltunen@gitlab.com> | 2021-01-18 18:46:15 +0300 |
---|---|---|
committer | Sami Hiltunen <shiltunen@gitlab.com> | 2021-01-19 14:27:52 +0300 |
commit | e0d6dcbc3780a31e558bb31f39e88eefd4263236 (patch) | |
tree | 5a0b0c940e33b2ef98ff1fc2b9c8d32465789c3b /internal/praefect/auth_test.go | |
parent | 4134a951357db2f5347af93f4fa16dc7076eda6b (diff) |
unify test proto generation
Pulls the generation code from a lonely Makefile in to our protobuf
generation Makefile target. This helps keep the generation workflow
the same with every proto file and ensure the generation code works.
Diffstat (limited to 'internal/praefect/auth_test.go')
-rw-r--r-- | internal/praefect/auth_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/praefect/auth_test.go b/internal/praefect/auth_test.go index 855cf2806..1d9f74528 100644 --- a/internal/praefect/auth_test.go +++ b/internal/praefect/auth_test.go @@ -159,7 +159,7 @@ func runServer(t *testing.T, token string, required bool) (*grpc.Server, string, }, } - gz := proto.FileDescriptor("mock.proto") + gz := proto.FileDescriptor("praefect/mock/mock.proto") fd, err := protoregistry.ExtractFileDescriptor(gz) if err != nil { t.Fatal(err) |