testhelpers

package
v0.0.0-...-b718ee8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateToken

func GenerateToken(user *models.User) (string, error)

func GetTestClient

func GetTestClient() *mongo.Client

func GetTestDatabase

func GetTestDatabase() *mongo.Database

func TestSetup

func TestSetup(t *testing.T)

func TruncatesCollection

func TruncatesCollection()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL