test

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UserJinsu    *ent.KhumuUser
	UserSomebody *ent.KhumuUser
	UserPuppy    *ent.KhumuUser
	Users        ent.KhumuUsers

	Articles      ent.Articles
	StudyArticles ent.StudyArticles

	Comment1JinsuAnonymous                *ent.Comment
	Comment2JinsuNamed                    *ent.Comment
	Comment3SomebodyAnonymous             *ent.Comment
	Comment4PuppyAnonymous                *ent.Comment
	Comment5JinsuAnonymousFromComment1    *ent.Comment
	Comment6JinsuNamedFromComment1        *ent.Comment
	Comment7SomebodyAnonymousFromComment1 *ent.Comment
	Comment8PuppyAnonymousFromComment1    *ent.Comment

	Comments ent.Comments
)

Functions

func SetUpArticles

func SetUpArticles(client *ent.Client)

func SetUpComments

func SetUpComments(client *ent.Client)

좋아요 기능 및 댓글에 대한 수정, 삭제 작업에 사용할 Fixture comment들

func SetUpStudyArticles

func SetUpStudyArticles(client *ent.Client)

func SetUpUsers

func SetUpUsers(client *ent.Client)

test 진행 시에 각 step에서 사용할 초기 데이터를 만든다.

Types

This section is empty.

Jump to

Keyboard shortcuts

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