test

package
v0.0.0-...-29094d0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearTodosData

func ClearTodosData(db *gorm.DB)

func CreateSampleTodoData

func CreateSampleTodoData(db *gorm.DB, todoRepository repository.TodoRepository)

* * To do data set *

func NewDatabaseTest

func NewDatabaseTest() *gorm.DB

Types

type ExpectationResultTest

type ExpectationResultTest struct {
	ExpectedCode           int
	ExpectedContainData    string
	NotExpectedContainData string
}

Jump to

Keyboard shortcuts

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