app/appengine: fix tests from hasty CL 210287 fix
I forgot to run the tests when writing CL 210287, which were the quick fixes
found when deploying CL 208697.
Change-Id: Icdbc8afac89358c30c370fd9e1d1a3fd6df95db7
Reviewed-on: https://go-review.googlesource.com/c/build/+/210377
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/app/appengine/ui_test.go b/app/appengine/ui_test.go
index e8d5cb1..f5b0f7c 100644
--- a/app/appengine/ui_test.go
+++ b/app/appengine/ui_test.go
@@ -111,12 +111,14 @@
ResultData: []string{
"openbsd-amd64|true||",
},
+ Branch: "master",
},
{
- Hash: "ffffffffffffffffffffffffffffffffffffffff",
- User: "Fancy Fred <f@eff.tld>",
- Desc: "all: add effs",
- Time: time.Unix(1257894000, 0),
+ Hash: "ffffffffffffffffffffffffffffffffffffffff",
+ User: "Fancy Fred <f@eff.tld>",
+ Desc: "all: add effs",
+ Time: time.Unix(1257894000, 0),
+ Branch: "master",
},
},
},
@@ -195,10 +197,11 @@
Pagination: &Pagination{},
Commits: []*CommitInfo{
{
- Hash: "26957168c4c0cdcc7ca4f0b19d0eb19474d224ac",
- User: "Foo Bar <foo@example.com>",
- Desc: "runtime: fix all the bugs",
- Time: time.Unix(1257894001, 0),
+ Hash: "26957168c4c0cdcc7ca4f0b19d0eb19474d224ac",
+ User: "Foo Bar <foo@example.com>",
+ Desc: "runtime: fix all the bugs",
+ Time: time.Unix(1257894001, 0),
+ Branch: "master",
},
},
TagState: []*TagState{
@@ -214,6 +217,7 @@
User: "Ee Yore <e@e.net>",
Desc: "all: fix networking",
Time: time.Unix(1257894001, 0),
+ Branch: "master",
},
},
{
@@ -224,6 +228,7 @@
User: "Sys Tem <sys@s.net>",
Desc: "sys: support more systems",
Time: time.Unix(1257894001, 0),
+ Branch: "master",
},
},
},
@@ -240,6 +245,7 @@
User: "Ee Yore <e@e.net>",
Desc: "all: fix networking",
Time: time.Unix(1257894001, 0),
+ Branch: "master",
},
},
{
@@ -250,6 +256,7 @@
User: "Sys Tem <sys@s.net>",
Desc: "sys: support more systems",
Time: time.Unix(1257894001, 0),
+ Branch: "master",
},
},
},
@@ -292,6 +299,7 @@
User: "Foo Bar <foo@example.com>",
Desc: "net: fix all the bugs",
Time: time.Unix(1257894001, 0),
+ Branch: "master",
ResultData: []string{
"|false||aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"|false||bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",