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

Unified Diff: tokenserver/appengine/impl/machinetoken/bigquery_log_test.go

Issue 2943403003: token-server: Fix panic when generating machine token for unrecognized machine. (Closed)
Patch Set: flatten Created 3 years, 6 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: tokenserver/appengine/impl/machinetoken/bigquery_log_test.go
diff --git a/tokenserver/appengine/impl/machinetoken/bigquery_log_test.go b/tokenserver/appengine/impl/machinetoken/bigquery_log_test.go
index 0be18de981b29fe91cad619bae0b43228574d988..29bd60c03c05e1c659a28b3104801e39c990d06c 100644
--- a/tokenserver/appengine/impl/machinetoken/bigquery_log_test.go
+++ b/tokenserver/appengine/impl/machinetoken/bigquery_log_test.go
@@ -19,7 +19,7 @@ import (
func TestMintedTokenInfo(t *testing.T) {
Convey("produces correct row map", t, func() {
- ctx := testingContext()
+ ctx := testingContext(testingCA)
smut 2017/06/20 22:37:17 Where is testingCA defined?
info := MintedTokenInfo{
Request: testingRawRequest(ctx),

Powered by Google App Engine
This is Rietveld 408576698