remove old factory

This commit is contained in:
Hayden 2022-10-29 19:11:35 -08:00
parent cf93811a44
commit ff479b74b1

View file

@ -1,16 +0,0 @@
package factories
import (
"github.com/hay-kot/homebox/backend/internal/repo"
"github.com/hay-kot/homebox/backend/pkgs/faker"
)
func UserFactory() repo.UserCreate {
f := faker.NewFaker()
return repo.UserCreate{
Name: f.Str(10),
Email: f.Email(),
Password: f.Str(10),
IsSuperuser: f.Bool(),
}
}