From 0c30fc802cc84d85ca425f7aa417c3e69250590c Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Wed, 19 Apr 2023 16:08:11 +0200 Subject: [#2823] Addressed review comments --- src/lib/dhcpsrv/tests/flq_allocator_unittest.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/lib/dhcpsrv/tests/flq_allocator_unittest.cc') diff --git a/src/lib/dhcpsrv/tests/flq_allocator_unittest.cc b/src/lib/dhcpsrv/tests/flq_allocator_unittest.cc index 33ae382901..350106f11b 100644 --- a/src/lib/dhcpsrv/tests/flq_allocator_unittest.cc +++ b/src/lib/dhcpsrv/tests/flq_allocator_unittest.cc @@ -361,8 +361,11 @@ public: // Test that the allocator returns the correct type. TEST_F(FreeLeaseQueueAllocatorTest6, getType) { - FreeLeaseQueueAllocator alloc(Lease::TYPE_NA, subnet_); - EXPECT_EQ("flq", alloc.getType()); + FreeLeaseQueueAllocator allocNA(Lease::TYPE_NA, subnet_); + EXPECT_EQ("flq", allocNA.getType()); + + FreeLeaseQueueAllocator allocPD(Lease::TYPE_PD, subnet_); + EXPECT_EQ("flq", allocPD.getType()); } // Test populating free DHCPv6 address leases to the queue. -- cgit v1.2.3