diff options
Diffstat (limited to 'sca-cpp/trunk/components/sqldb/pgsql-test.cpp')
-rw-r--r-- | sca-cpp/trunk/components/sqldb/pgsql-test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/components/sqldb/pgsql-test.cpp b/sca-cpp/trunk/components/sqldb/pgsql-test.cpp index 7fb6b0c814..1019667285 100644 --- a/sca-cpp/trunk/components/sqldb/pgsql-test.cpp +++ b/sca-cpp/trunk/components/sqldb/pgsql-test.cpp @@ -33,7 +33,7 @@ namespace tuscany { namespace pgsql { bool testPGSql() { - PGSql pg("dbname=db", "test"); + PGSql pg("host=localhost port=5432 dbname=db", "test"); const value k = mklist<value>("a"); assert(hasContent(post(k, string("AAA"), pg))); @@ -59,7 +59,7 @@ struct getLoop { bool testGetPerf() { const value k = mklist<value>("c"); - PGSql pg("dbname=db", "test"); + PGSql pg("host=localhost port=5432 dbname=db", "test"); assert(hasContent(post(k, string("CCC"), pg))); const lambda<bool()> gl = getLoop(k, pg); |