Merge pull request #180 from bkendall/fix-mongo-cache-no-tests
Prevent empty values in cache (using mongo)
This commit is contained in:
commit
d2434b024d
2 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue