| Index: impl/memory/datastore_test.go
|
| diff --git a/impl/memory/datastore_test.go b/impl/memory/datastore_test.go
|
| index 54ded94a0599fd44739ed928f138e8ae90493a7f..3b9f91e212dfc2f75d09512216539fc0785e295e 100644
|
| --- a/impl/memory/datastore_test.go
|
| +++ b/impl/memory/datastore_test.go
|
| @@ -685,11 +685,12 @@ func TestNewDatastore(t *testing.T) {
|
| t.Parallel()
|
|
|
| Convey("Can get and use a NewDatastore", t, func() {
|
| - ds, err := NewDatastore("aid", "ns")
|
| - So(err, ShouldBeNil)
|
| + c := UseWithAppID(context.Background(), "dev~aid")
|
| + c = infoS.Get(c).MustNamespace("ns")
|
| + ds := NewDatastore(infoS.Get(c))
|
|
|
| k := ds.MakeKey("Something", 1)
|
| - So(k.AppID(), ShouldEqual, "aid")
|
| + So(k.AppID(), ShouldEqual, "dev~aid")
|
| So(k.Namespace(), ShouldEqual, "ns")
|
|
|
| type Model struct {
|
|
|