Return Scopes options without any configuration for only the default collection.
(_ testing.TB)
| 646 | |
| 647 | // Return Scopes options without any configuration for only the default collection. |
| 648 | func GetScopesOptionsDefaultCollectionOnly(_ testing.TB) ScopesOptions { |
| 649 | return map[string]ScopeOptions{ |
| 650 | base.DefaultScope: ScopeOptions{ |
| 651 | Collections: map[string]CollectionOptions{ |
| 652 | base.DefaultCollection: {}, |
| 653 | }, |
| 654 | }, |
| 655 | } |
| 656 | } |
| 657 | |
| 658 | func GetSingleDatabaseCollectionWithUser(ctx context.Context, tb testing.TB, database *Database) (*DatabaseCollectionWithUser, context.Context) { |
| 659 | c := &DatabaseCollectionWithUser{ |
no outgoing calls