Index: service/datastore/datastore_test.go |
diff --git a/service/datastore/datastore_test.go b/service/datastore/datastore_test.go |
index 48d5f85c069b3c2aac65bb0f062a3c25a724cda5..27db51af6233a23cbc17265eeecf2064951d65c3 100644 |
--- a/service/datastore/datastore_test.go |
+++ b/service/datastore/datastore_test.go |
@@ -24,10 +24,11 @@ import ( |
func fakeDatastoreFactory(c context.Context, wantTxn bool) RawInterface { |
i := info.Get(c) |
- return &fakeDatastore{ |
+ fds := fakeDatastore{ |
aid: i.FullyQualifiedAppID(), |
- ns: i.GetNamespace(), |
} |
+ fds.ns, _ = i.GetNamespace() |
+ return &fds |
} |
type fakeDatastore struct { |