mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[github21] Compilation fix (PG versions constants updated in tests)
This commit is contained in:
@@ -25,7 +25,7 @@ namespace dhcp {
|
||||
class PgSqlLease4Exchange;
|
||||
class PgSqlLease6Exchange;
|
||||
|
||||
/// Defines PostgreSQL backend version: 2.0
|
||||
/// Defines PostgreSQL backend version: 3.0
|
||||
const uint32_t PG_CURRENT_VERSION = 3;
|
||||
const uint32_t PG_CURRENT_MINOR = 0;
|
||||
|
||||
|
@@ -190,8 +190,8 @@ TEST_F(PgSqlLeaseMgrTest, checkVersion) {
|
||||
// Check version
|
||||
pair<uint32_t, uint32_t> version;
|
||||
ASSERT_NO_THROW(version = lmptr_->getVersion());
|
||||
EXPECT_EQ(PG_SCHEMA_VERSION_MAJOR, version.first);
|
||||
EXPECT_EQ(PG_SCHEMA_VERSION_MINOR, version.second);
|
||||
EXPECT_EQ(PG_CURRENT_VERSION, version.first);
|
||||
EXPECT_EQ(PG_CURRENT_MINOR, version.second);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user