Documentation ¶
Index ¶
- Variables
- func Bus(t *testing.T) (context.Context, *catalyst.Config, *bus.Bus, error)
- func Catalyst(t *testing.T) (context.Context, *catalyst.Config, *catalyst.Server, error)
- func Clear(ctx context.Context, client driver.Client, name string)
- func Config(_ context.Context) (*catalyst.Config, error)
- func Context() context.Context
- func DB(t *testing.T) (context.Context, *catalyst.Config, *bus.Bus, *index.Index, *storage.Storage, ...)
- func Index(t *testing.T) (*index.Index, func(), error)
- func Server(t *testing.T) (context.Context, *catalyst.Config, *bus.Bus, *index.Index, *storage.Storage, ...)
- func Service(t *testing.T) (context.Context, *catalyst.Config, *bus.Bus, *index.Index, *storage.Storage, ...)
- func SetupTestData(ctx context.Context, db *database.Database) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Bob = &maut.User{ID: "bob", Blocked: false, Roles: []string{"admin"}}
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.