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

Unified Diff: milo/appengine/settings/config_test.go

Issue 2275123002: Milo: pRPC endpoint for getting Buildbot master data (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Renamed stuff Created 4 years, 3 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
« no previous file with comments | « milo/appengine/settings/config.go ('k') | server/static/rpcexplorer/rpc-method.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/settings/config_test.go
diff --git a/milo/appengine/settings/config_test.go b/milo/appengine/settings/config_test.go
index b38e98f599f469b68b3c1c33b194293b901a3041..f886ff717f9a99e457773c898b05b462243376ca 100644
--- a/milo/appengine/settings/config_test.go
+++ b/milo/appengine/settings/config_test.go
@@ -27,7 +27,7 @@ func TestConfig(t *testing.T) {
Convey("Send update", func() {
c = lucicfg.SetImplementation(c, memcfg.New(mockedConfigs))
// Send update here
- err := update(c)
+ err := Update(c)
So(err, ShouldBeNil)
Convey("Check Project config updated", func() {
@@ -49,7 +49,7 @@ func TestConfig(t *testing.T) {
Convey("Reject duplicate configs.", func() {
mockedConfigs["projects/bar.git"] = memcfg.ConfigSet{"luci-milo.cfg": barCfg}
c = lucicfg.SetImplementation(c, memcfg.New(mockedConfigs))
- err := update(c)
+ err := Update(c)
So(strings.HasPrefix(err.Error(), "Duplicate project ID"), ShouldEqual, true)
})
})
« no previous file with comments | « milo/appengine/settings/config.go ('k') | server/static/rpcexplorer/rpc-method.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698