diff --git a/cayley_test.go b/cayley_test.go index df3043b..995f7eb 100644 --- a/cayley_test.go +++ b/cayley_test.go @@ -392,6 +392,9 @@ func prepare(t testing.TB) { } case "mongo": cfg.DatabasePath = "localhost:27017" + cfg.DatabaseOptions = map[string]interface{}{ + "database_name": "cayley_test", // provide a default test database + } default: t.Fatalf("Untestable backend store %s", *backend) }