diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-04-30 00:34:52 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-04-30 00:34:52 +0100 |
commit | e20513b0efc6ce2be92f6f03a90b85ebf740bc70 (patch) | |
tree | eeb0e3f0913b8741c77b17a4caa0fef491b1dc1e | |
parent | Don't terminate the SQL command with NULL, std::string doesn't require it (diff) | |
download | icetray-e20513b0efc6ce2be92f6f03a90b85ebf740bc70.tar.bz2 icetray-e20513b0efc6ce2be92f6f03a90b85ebf740bc70.tar.xz icetray-e20513b0efc6ce2be92f6f03a90b85ebf740bc70.zip |
Fix connection in test
-rw-r--r-- | icetray/unittests/testDefaultPool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icetray/unittests/testDefaultPool.cpp b/icetray/unittests/testDefaultPool.cpp index 7dfa360..d615386 100644 --- a/icetray/unittests/testDefaultPool.cpp +++ b/icetray/unittests/testDefaultPool.cpp @@ -12,7 +12,7 @@ BOOST_AUTO_TEST_CASE( defaultPool ) { auto p = Ice::createProperties(); - p->setProperty("testcase.Database.ConnectionString", "host=randomdan.homeip.net user=gentoo"); + p->setProperty("testcase.Database.ConnectionString", "user=template1 user=postgres"); auto pool = IceTray::PoolProvider::createNew("DefaultPool", "testcase", "postgresql", p); BOOST_REQUIRE(pool); BOOST_REQUIRE_EQUAL(0, pool->inUseCount()); |