GetCollectionsConfig sets up a ScopesConfig from a TestBucket for use with non default collections.
(t testing.TB, testBucket *base.TestBucket, numCollections int)
| 428 | |
| 429 | // GetCollectionsConfig sets up a ScopesConfig from a TestBucket for use with non default collections. |
| 430 | func GetCollectionsConfig(t testing.TB, testBucket *base.TestBucket, numCollections int) ScopesConfig { |
| 431 | return GetCollectionsConfigWithFiltering(t, testBucket, numCollections, nil, nil) |
| 432 | } |
| 433 | |
| 434 | // GetCollectionsConfigWithFiltering sets up a ScopesConfig from a TestBucket for use with non default collections. The sync function will be passed for all collections. |
| 435 | func GetCollectionsConfigWithFiltering(t testing.TB, testBucket *base.TestBucket, numCollections int, syncFn *string, importFilter *string) ScopesConfig { |