diff options
Diffstat (limited to 'test/test-util.cpp')
-rw-r--r-- | test/test-util.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test-util.cpp b/test/test-util.cpp new file mode 100644 index 0000000..feb58c7 --- /dev/null +++ b/test/test-util.cpp @@ -0,0 +1,6 @@ +#include "test-util.hpp" + +namespace WebStat { + MockDB::MockDB() : + DB::PluginMock<PQ::Mock>("webstat", {SRC_DIR / "schema.sql"}, "user=postgres dbname=postgres") { } +} |