Documentation ¶
Index ¶
- Variables
- func AuthApprobateur(request *httpexpect.Request) *httpexpect.Request
- func AuthExploitant(request *httpexpect.Request) *httpexpect.Request
- func AuthInspecteur(request *httpexpect.Request) *httpexpect.Request
- func AuthUser(request *httpexpect.Request, userId int64) *httpexpect.Request
- func Init(t *testing.T) (*httpexpect.Expect, func())
- func InitDB(t *testing.T) (*require.Assertions, *app.Application)
- func InitService(t *testing.T) (*require.Assertions, *app.Application, func())
- func InitWithSso(t *testing.T) (*httpexpect.Expect, func(), *authmocks.Sso)
Constants ¶
This section is empty.
Variables ¶
View Source
var UserSessions = make(map[int64]string)
Functions ¶
func AuthApprobateur ¶
func AuthApprobateur(request *httpexpect.Request) *httpexpect.Request
func AuthExploitant ¶
func AuthExploitant(request *httpexpect.Request) *httpexpect.Request
func AuthInspecteur ¶
func AuthInspecteur(request *httpexpect.Request) *httpexpect.Request
func AuthUser ¶
func AuthUser(request *httpexpect.Request, userId int64) *httpexpect.Request
func InitDB ¶
func InitDB(t *testing.T) (*require.Assertions, *app.Application)
func InitService ¶
func InitService(t *testing.T) (*require.Assertions, *app.Application, func())
func InitWithSso ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.