(t testing.TB, options CacheOptions)
| 93 | } |
| 94 | |
| 95 | func setupTestDBWithCacheOptions(t testing.TB, options CacheOptions) (*Database, context.Context) { |
| 96 | |
| 97 | dbcOptions := DatabaseContextOptions{ |
| 98 | CacheOptions: &options, |
| 99 | } |
| 100 | return SetupTestDBWithOptions(t, dbcOptions) |
| 101 | } |
| 102 | |
| 103 | // Forces UseViews:true in the database context. Useful for testing w/ views while running |
| 104 | // tests against Couchbase Server |
no test coverage detected