Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCtxTest ¶
type AppCtxTest struct { *servicestest.ServicesTest AppCtx *appctx.Context StaticFS filesystem.FS // contains filtered or unexported fields }
AppCtxTest contains an app and all of its dependencies for testing
func (*AppCtxTest) Login ¶
func (appCtxTest *AppCtxTest) Login() *models.User
Login will create a test user and future requests will be authenticated as this user
func (*AppCtxTest) Logout ¶
func (appCtxTest *AppCtxTest) Logout()
Logout will logout the currently logged user
Click to show internal directories.
Click to hide internal directories.