Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1124)

Unified Diff: server/auth/delegation_test.go

Issue 2785973002: token-server: Add protos for new API for generating service account tokens. (Closed)
Patch Set: more nits Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: server/auth/delegation_test.go
diff --git a/server/auth/delegation_test.go b/server/auth/delegation_test.go
index 68fe0553443a5b35f237ed7d9ac7bc3aad5b5e57..413fc650a223930c10e95bb9690061e2aa01273a 100644
--- a/server/auth/delegation_test.go
+++ b/server/auth/delegation_test.go
@@ -38,10 +38,6 @@ type tokenMinterMock struct {
err error
}
-func (m *tokenMinterMock) MintMachineToken(context.Context, *minter.MintMachineTokenRequest, ...grpc.CallOption) (*minter.MintMachineTokenResponse, error) {
- panic("not implemented")
-}
-
func (m *tokenMinterMock) MintDelegationToken(ctx context.Context, in *minter.MintDelegationTokenRequest, opts ...grpc.CallOption) (*minter.MintDelegationTokenResponse, error) {
m.request = *in
if m.err != nil {

Powered by Google App Engine
This is Rietveld 408576698