Index: impl/cloud/datastore_test.go |
diff --git a/impl/cloud/datastore_test.go b/impl/cloud/datastore_test.go |
index dc6b207f1371eaf9324ecb37e7c119310ee81115..7992d097801f079c1f9d78cf1c2993767ce168e7 100644 |
--- a/impl/cloud/datastore_test.go |
+++ b/impl/cloud/datastore_test.go |
@@ -69,7 +69,7 @@ func TestDatastore(t *testing.T) { |
// test suite. |
emulatorHost := os.Getenv("DATASTORE_EMULATOR_HOST") |
if emulatorHost == "" { |
- t.Logf("No emulator detected. Skipping test suite.") |
+ t.Logf("No emulator detected (DATASTORE_EMULATOR_HOST). Skipping test suite.") |
return |
} |
@@ -82,7 +82,8 @@ func TestDatastore(t *testing.T) { |
testTime := ds.RoundTime(time.Date(2016, 1, 1, 0, 0, 0, 0, time.UTC)) |
_ = testTime |
- c = Use(c, client) |
+ cfg := Config{DS: client} |
+ c = cfg.Use(c) |
Convey(`Supports namespaces`, func() { |
namespaces := []string{"foo", "bar", "baz"} |