fix this test

This commit is contained in:
ineed bots 2023-09-10 18:31:34 -06:00
parent 64f8dfca8d
commit 623d0001a9

View File

@ -49,7 +49,7 @@ namespace test
} }
{ {
SQLite::Database db("test.db3", SQLite::OPEN_READWRITE|SQLite::OPEN_CREATE); SQLite::Database db(":memory:", SQLite::OPEN_READWRITE);
db.exec("CREATE TABLE test (id INTEGER PRIMARY KEY, value TEXT, weight INTEGER)"); db.exec("CREATE TABLE test (id INTEGER PRIMARY KEY, value TEXT, weight INTEGER)");
db.exec("INSERT INTO test VALUES (NULL, \"first\", 3)"); db.exec("INSERT INTO test VALUES (NULL, \"first\", 3)");