Repo options
This commit is contained in:
@ -15,7 +15,7 @@ func TestGetMethod(t *testing.T) {
|
||||
defer sqldb.Close()
|
||||
|
||||
repo := RepoBase[MyModel]{}
|
||||
repo.Init(db)
|
||||
repo.Init(db, nil)
|
||||
|
||||
id := uuid.New()
|
||||
filter := MyModelFilter{
|
||||
@ -40,7 +40,7 @@ func TestGetMethod(t *testing.T) {
|
||||
defer sqldb.Close()
|
||||
|
||||
repo := RepoBase[MyModel]{}
|
||||
repo.Init(db)
|
||||
repo.Init(db, nil)
|
||||
|
||||
id := uuid.New()
|
||||
raiseError := true
|
||||
|
||||
Reference in New Issue
Block a user