Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Key1 is a mock api key Key1 *models.APIKey // Key2 is a mock api key Key2 *models.APIKey // Key3 is a mock api key Key3 *models.APIKey // DashboardKey is the mock key for the dashboard DashboardKey *models.APIKey )
View Source
var ( // Profile1 contains the second example profile Profile1 *models.Profile // Profile2 contains the second example profile Profile2 *models.Profile )
Functions ¶
func NewMockDB ¶
func NewMockDB() *testingdb.TestConnection
NewMockDB returns an in memory temp testing database with mock data
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.