From b9791d291ed64b30b254ff8b1fc044814e7d510a Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Tue, 29 Dec 2015 02:42:43 +0000
Subject: Reshuffle and add new exceptions

---
 libpqpp/unittests/testpq.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'libpqpp/unittests')

diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp
index 2ff3235..e6721ec 100644
--- a/libpqpp/unittests/testpq.cpp
+++ b/libpqpp/unittests/testpq.cpp
@@ -2,9 +2,9 @@
 #include <boost/test/unit_test.hpp>
 
 #include <definedDirs.h>
-#include <dbpp/modifycommand.h>
-#include <dbpp/selectcommand.h>
-#include <dbpp/column.h>
+#include <modifycommand.h>
+#include <selectcommand.h>
+#include <column.h>
 #include <pq-mock.h>
 #include <testCore.h>
 #include <fstream>
@@ -204,7 +204,7 @@ BOOST_AUTO_TEST_CASE( reconnectInTx )
 	kil->execute();
 	delete kil;
 	usleep(5000);
-	BOOST_REQUIRE_THROW(ro->ping(), PQ::ConnectionError);
+	BOOST_REQUIRE_THROW(ro->ping(), DB::ConnectionError);
 	delete ro;
 	delete rok;
 }
@@ -213,7 +213,7 @@ BOOST_AUTO_TEST_SUITE_END();
 
 BOOST_AUTO_TEST_CASE( connfail )
 {
-	BOOST_REQUIRE_THROW(DB::ConnectionFactory::createNew("postgresql", "host=localhost user=no"), PQ::ConnectionError);
+	BOOST_REQUIRE_THROW(DB::ConnectionFactory::createNew("postgresql", "host=localhost user=no"), DB::ConnectionError);
 }
 
 BOOST_AUTO_TEST_CASE( ssl )
-- 
cgit v1.2.3