summaryrefslogtreecommitdiff
path: root/tests/database.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/database.cpp')
-rw-r--r--tests/database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/database.cpp b/tests/database.cpp
index b059d0d..4e2be14 100644
--- a/tests/database.cpp
+++ b/tests/database.cpp
@@ -7,7 +7,7 @@
TEST_CASE("Database")
{
#ifdef USE_DATABASE
- Config::set("db_name", ":memory:");
+ Database::open(":memory:");
Database::set_verbose(false);
SECTION("Basic retrieve and update")