Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestSocialMedia ¶
func CreateTestSocialMedia(db *gorm.DB) models.SocialMedia
func RegisterTestUser ¶
function to create a user before login test
func SetupTestDB ¶
func TruncateSocialMediasTable ¶
Truncates the social media table in the given database.
func TruncateUsersTable ¶
Truncates the users table in the given database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.