Revert accidental debug code

Revert change in rF01c45afc20854918d1f18e6859b4154499d500b6 that made
unit tests use an on-disk database.
This commit is contained in:
Sybren A. Stüvel 2022-06-13 15:31:30 +02:00
parent b922722614
commit 6fc936d0a6

@ -18,8 +18,7 @@ import (
// Change this to a filename if you want to run a single test and inspect the
// resulting database.
// const TestDSN = "file::memory:"
const TestDSN = "/home/sybren/workspace/flamenco/tests.sqlite"
const TestDSN = "file::memory:"
func CreateTestDB(t *testing.T) (db *DB, closer func()) {
// Delete the SQLite file if it exists on disk.