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

Unified Diff: impl/memory/info_test.go

Issue 1929423002: filter/txnBuf: Use fully-qualified App ID. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/gae@master
Patch Set: Go back to "dev~", too many things care. Created 4 years, 8 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
« impl/memory/datastore_test.go ('K') | « impl/memory/info.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/info_test.go
diff --git a/impl/memory/info_test.go b/impl/memory/info_test.go
index 200f43764962e5d6d044fb5658c346ba61d3bdd5..2019e3b45024b1d2c5f3dc9e14617dc1b0374d46 100644
--- a/impl/memory/info_test.go
+++ b/impl/memory/info_test.go
@@ -29,11 +29,13 @@ func TestMustNamespace(t *testing.T) {
Convey("Testable interface works", t, func() {
c := Use(context.Background())
c = useGID(c, func(mod *globalInfoData) {
- mod.appid = "app-id"
+ mod.appID = "app-id"
+ mod.fqAppID = "dev~app-id"
})
// Default value.
So(info.Get(c).AppID(), ShouldEqual, "app-id")
+ So(info.Get(c).FullyQualifiedAppID(), ShouldEqual, "dev~app-id")
So(info.Get(c).RequestID(), ShouldEqual, "test-request-id")
// Setting to "override" applies to initial context.
« impl/memory/datastore_test.go ('K') | « impl/memory/info.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698