summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-03 20:23:23 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-03 20:23:23 +0000
commite44fe507b9fb799080610c8b011673b3fee1a8fe (patch)
treef7b938ae0c7f3288b1ac72c4af231823ccd19410
parentRemove boost::filesystem in favour of std::filesystem (diff)
downloadlibdbpp-mysql-e44fe507b9fb799080610c8b011673b3fee1a8fe.tar.bz2
libdbpp-mysql-e44fe507b9fb799080610c8b011673b3fee1a8fe.tar.xz
libdbpp-mysql-e44fe507b9fb799080610c8b011673b3fee1a8fe.zip
Remove p2 reference from mock names
-rw-r--r--libmysqlpp/my-mock.cpp2
-rw-r--r--libmysqlpp/unittests/testmysql.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmysqlpp/my-mock.cpp b/libmysqlpp/my-mock.cpp
index 19f2058..3c03ba8 100644
--- a/libmysqlpp/my-mock.cpp
+++ b/libmysqlpp/my-mock.cpp
@@ -13,7 +13,7 @@ Mock::Mock(const std::string & master, const std::string & name, const std::vect
PlaySchemaScripts(ss);
}
-AdHocFormatter(MockConnStr, "options=p2testmysql;database=%?");
+AdHocFormatter(MockConnStr, "options=libdbpp;database=%?");
DB::ConnectionPtr
Mock::openConnection() const
{
diff --git a/libmysqlpp/unittests/testmysql.cpp b/libmysqlpp/unittests/testmysql.cpp
index 6fd4d34..4691a28 100644
--- a/libmysqlpp/unittests/testmysql.cpp
+++ b/libmysqlpp/unittests/testmysql.cpp
@@ -15,7 +15,7 @@
class StandardMockDatabase : public DB::PluginMock<MySQL::Mock> {
public:
StandardMockDatabase() : DB::PluginMock<MySQL::Mock>("mysqlmock", {
- rootDir / "mysqlschema.sql" }, "options=p2testmysql")
+ rootDir / "mysqlschema.sql" }, "options=libdbpp")
{
}
};