Let's try the :memory: db for testing

This commit is contained in:
unknown 2015-08-15 04:34:41 -05:00
parent 8bea79dcae
commit fa21fec437

View file

@ -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)