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

Unified Diff: service/datastore/context_test.go

Issue 1289323002: Fix miscellaneous prod bugs. (Closed) Base URL: https://github.com/luci/gae@master
Patch Set: Rebase. Created 5 years, 4 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 | « service/datastore/checkfilter_test.go ('k') | service/datastore/datastore_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/context_test.go
diff --git a/service/datastore/context_test.go b/service/datastore/context_test.go
index 3dd6754ef9e167575c18f73f2bebd9f5021716fc..2f3d042866046e5fe3c4cf906f8488c4446f6a4e 100644
--- a/service/datastore/context_test.go
+++ b/service/datastore/context_test.go
@@ -14,8 +14,9 @@ import (
type fakeInfo struct{ info.Interface }
-func (fakeInfo) GetNamespace() string { return "ns" }
-func (fakeInfo) AppID() string { return "aid" }
+func (fakeInfo) GetNamespace() string { return "ns" }
+func (fakeInfo) AppID() string { return "aid" }
+func (fakeInfo) FullyQualifiedAppID() string { return "s~aid" }
type fakeService struct{ RawInterface }
@@ -38,7 +39,7 @@ func TestServices(t *testing.T) {
c = SetRaw(info.Set(c, fakeInfo{}), fakeService{})
Convey("lets you pull them back out", func() {
- So(GetRaw(c), ShouldResemble, &checkFilter{fakeService{}, "aid", "ns"})
+ So(GetRaw(c), ShouldResemble, &checkFilter{fakeService{}, "s~aid", "ns"})
})
Convey("and lets you add filters", func() {
« no previous file with comments | « service/datastore/checkfilter_test.go ('k') | service/datastore/datastore_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698