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

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

Issue 2575383002: Add server/cache support to gaeconfig. (Closed)
Patch Set: Created 4 years 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: milo/appengine/settings/acl_test.go
diff --git a/milo/appengine/settings/acl_test.go b/milo/appengine/settings/acl_test.go
index 2d99bd5866c075c4f583d524b9fd1d9227935d46..35e6f7a2ca7fd99187b58abc0f956b10e711f064 100644
--- a/milo/appengine/settings/acl_test.go
+++ b/milo/appengine/settings/acl_test.go
@@ -8,12 +8,12 @@ import (
"testing"
"github.com/luci/gae/impl/memory"
- lucicfg "github.com/luci/luci-go/common/config"
memcfg "github.com/luci/luci-go/common/config/impl/memory"
"github.com/luci/luci-go/common/logging/gologger"
"github.com/luci/luci-go/server/auth"
"github.com/luci/luci-go/server/auth/authtest"
"github.com/luci/luci-go/server/auth/identity"
+ "github.com/luci/luci-go/server/config/testconfig"
"golang.org/x/net/context"
. "github.com/smartystreets/goconvey/convey"
@@ -27,7 +27,7 @@ func TestACL(t *testing.T) {
c = gologger.StdConfig.Use(c)
Convey("Set up projects", func() {
- c = lucicfg.SetImplementation(c, memcfg.New(aclConfgs))
+ c = testconfig.WithCommonClient(c, memcfg.New(aclConfgs))
err := Update(c)
So(err, ShouldBeNil)

Powered by Google App Engine
This is Rietveld 408576698