tests

package
v0.0.0-...-cd399ba Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Now              = time.Now()
	CourseUUID       = uuid.MustParse("00000000-0000-0000-0000-aaaaaaaaaaaa")
	MatrixUUID       = uuid.MustParse("00000000-0000-0000-0000-bbbbbbbbbbbb")
	SubscriptionUUID = uuid.MustParse("00000000-0000-0000-0000-cccccccccccc")
	UserUUID         = uuid.MustParse("00000000-0000-0000-0000-111111111111")
	Role             = "Role"
	EmptyRows        = sqlmock.NewRows([]string{})
)

Functions

func NewTestDB

func NewTestDB(queries map[string]string) (*sqlx.DB, sqlmock.Sqlmock, map[string]*sqlmock.ExpectedPrepare)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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