summaryrefslogtreecommitdiffstats
path: root/src/lib/pgsql
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2021-12-09 19:27:02 +0100
committerThomas Markwalder <tmark@isc.org>2021-12-21 19:30:14 +0100
commit3bb4a704fde1f24d396fe5059ef08470060efac2 (patch)
tree3ed926a596db2f90497db98c726985dea9a4ae77 /src/lib/pgsql
parent[#2183] Added convenience method for fetching ptimes (diff)
downloadkea-3bb4a704fde1f24d396fe5059ef08470060efac2.tar.xz
kea-3bb4a704fde1f24d396fe5059ef08470060efac2.zip
[#2183] Fixed a syntax error in unit test.
modified: tests/pgsql_exchange_unittest.cc
Diffstat (limited to 'src/lib/pgsql')
-rw-r--r--src/lib/pgsql/tests/pgsql_exchange_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/pgsql/tests/pgsql_exchange_unittest.cc b/src/lib/pgsql/tests/pgsql_exchange_unittest.cc
index 2dd79d6b7e..2a01280216 100644
--- a/src/lib/pgsql/tests/pgsql_exchange_unittest.cc
+++ b/src/lib/pgsql/tests/pgsql_exchange_unittest.cc
@@ -937,6 +937,7 @@ TEST_F(PgSqlBasicsTest, ptimeTimestamp) {
// Convert fetched value into a ptime.
ptime fetched_time;
ASSERT_NO_THROW_LOG(PgSqlExchange::getColumnValue(*r, 0, TIMESTAMP_COL,
+ fetched_time));
ASSERT_EQ(fetched_time, nice_day);
}