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

Unified Diff: server/auth/delegation_test.go

Issue 2785973002: token-server: Add protos for new API for generating service account tokens. (Closed)
Patch Set: fix tests Created 3 years, 9 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 967bf3725f8b2db25ba550b139270261374a4e36..b4c61aaa4d5702cc7d2f0a52e4ccf061f0f568b7 100644
--- a/server/auth/delegation_test.go
+++ b/server/auth/delegation_test.go
@@ -28,10 +28,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