MetadataStore returns the datastore for the database on the RestTester
()
| 423 | |
| 424 | // MetadataStore returns the datastore for the database on the RestTester |
| 425 | func (rt *RestTester) MetadataStore() base.DataStore { |
| 426 | return rt.GetDatabase().MetadataStore |
| 427 | } |
| 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 { |