summaryrefslogtreecommitdiff
path: root/libpqpp/unittests/testpq.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-08-04 19:48:20 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-08-04 19:48:20 +0100
commit3526af7ec50e46aaa73d038566f42554f70f27b0 (patch)
tree2591708ced4743213f77c9aa4ee8933dc0d1b333 /libpqpp/unittests/testpq.cpp
parentPedantic only with gcc (diff)
downloadlibdbpp-postgresql-1.4.10.tar.bz2
libdbpp-postgresql-1.4.10.tar.xz
libdbpp-postgresql-1.4.10.zip
Fix a lot of clang-tidy warningsHEADlibdbpp-postgresql-1.4.10main
Diffstat (limited to 'libpqpp/unittests/testpq.cpp')
-rw-r--r--libpqpp/unittests/testpq.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp
index d610e41..1307792 100644
--- a/libpqpp/unittests/testpq.cpp
+++ b/libpqpp/unittests/testpq.cpp
@@ -489,7 +489,7 @@ BOOST_AUTO_TEST_CASE(bulkPerfTest)
int64_t tot = 0;
for (const auto & [a, b, c, d, e, f] : sel->as<int64_t, double, std::string_view, boost::posix_time::time_duration,
- boost::posix_time::ptime, bool>()) {
+ boost::posix_time::ptime, bool>()) {
tot += a + static_cast<int64_t>(b) + static_cast<int64_t>(c.length()) + d.hours() + e.time_of_day().hours() + f;
}
BOOST_REQUIRE_EQUAL(tot, 1013265);
@@ -509,7 +509,7 @@ BOOST_AUTO_TEST_CASE(connfail)
}
}
-BOOST_AUTO_TEST_CASE(ssl)
+BOOST_AUTO_TEST_CASE(ssl, *boost::unit_test::disabled())
{
auto conn = DB::ConnectionFactory::createNew(
"postgresql", "host=randomdan.homeip.net user=gentoo dbname=postgres sslmode=require");