aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/util_test.go
diff options
context:
space:
mode:
authorGreg Steuck <gnezdo@google.com>2021-06-15 11:37:27 -0700
committerDmitry Vyukov <dvyukov@google.com>2021-06-16 15:21:18 +0200
commitaba2b2fb3544d9e42991237c13d8cada421deda5 (patch)
tree46adf0ee465695d8d31535f4690737e3b9ae541b /dashboard/app/util_test.go
parentc06f97ad4b8a38e6396ff90f6084063f2303ad43 (diff)
dashboard/app: document the values in maps and rename local vars
The previous names confused a couple of unrelated concepts.
Diffstat (limited to 'dashboard/app/util_test.go')
-rw-r--r--dashboard/app/util_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dashboard/app/util_test.go b/dashboard/app/util_test.go
index bfb14c54b..628f77425 100644
--- a/dashboard/app/util_test.go
+++ b/dashboard/app/util_test.go
@@ -72,8 +72,8 @@ func NewCtx(t *testing.T) *Ctx {
mockedTime: time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC),
emailSink: make(chan *aemail.Message, 100),
}
- c.client = c.makeClient(client1, key1, true)
- c.client2 = c.makeClient(client2, key2, true)
+ c.client = c.makeClient(client1, password1, true)
+ c.client2 = c.makeClient(client2, password2, true)
registerContext(r, c)
return c
}