mirror of
https://github.com/gophish/gophish
synced 2024-11-15 00:37:14 +00:00
Let's try the :memory: db for testing
This commit is contained in:
parent
8bea79dcae
commit
fa21fec437
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ type ModelsSuite struct{}
|
|||
var _ = check.Suite(&ModelsSuite{})
|
||||
|
||||
func (s *ModelsSuite) SetUpSuite(c *check.C) {
|
||||
config.Conf.DBPath = "../gophish_test.db"
|
||||
config.Conf.DBPath = ":memory:"
|
||||
err := Setup()
|
||||
if err != nil {
|
||||
c.Fatalf("Failed creating database: %v", err)
|
||||
|
|
Loading…
Reference in a new issue