diff --git a/internal/storage/sql_storage_test.go b/internal/storage/sql_storage_test.go index 647d4e63..be943d04 100644 --- a/internal/storage/sql_storage_test.go +++ b/internal/storage/sql_storage_test.go @@ -19,7 +19,7 @@ func TestSqlStorage(t *testing.T) { } var _ = Describe("SqlStorage", func() { - db, err := gorm.Open(sqlite.Open("ticker.db"), &gorm.Config{}) + db, err := gorm.Open(sqlite.Open("file:testdatabase?mode=memory&cache=shared"), &gorm.Config{}) Expect(err).ToNot(HaveOccurred()) var storage = NewSqlStorage(db, "/uploads")