Documentation ¶
Index ¶
- Constants
- func AssertErrorResponseBody(t *testing.T, resp *http.Response, expected *utils.ErrorResponseBody)
- func AssertLog(t *testing.T, expected *models.Log, actual *models.Log)
- func CountClientSessions(t *testing.T, db *gorm.DB, sessionCount *int64)
- func CountLogs(t *testing.T, db *gorm.DB, logCount *int64)
- func CountUsers(t *testing.T, db *gorm.DB, userCount *int64)
- func NewSlug(t *testing.T) string
- func QueryTestClientSessionLatest(t *testing.T, db *gorm.DB, session *models.ClientSession)
- func QueryTestLogLatest(t *testing.T, db *gorm.DB, log *models.Log)
- func QueryTestUserByEmail(t *testing.T, db *gorm.DB, user *models.User, email string)
- func QueryTestUserBySlug(t *testing.T, db *gorm.DB, user *models.User, slug string)
Constants ¶
View Source
const ( CLIENT_IP string = "127.0.0.2" VALID_PW string = "7h3Val!dPA5SWoRD" )
Variables ¶
This section is empty.
Functions ¶
func AssertErrorResponseBody ¶
func QueryTestUserByEmail ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.