From fa21fec437048ea44e1c52a787522f7f99e38513 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 15 Aug 2015 04:34:41 -0500 Subject: [PATCH] Let's try the :memory: db for testing --- models/models_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/models_test.go b/models/models_test.go index 747d3749..5f32d9a8 100644 --- a/models/models_test.go +++ b/models/models_test.go @@ -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)