Commit 2d99e3f9 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[3982] Minor fix after review:

 - DUID is checked in Lease6::decline() unit-test.
parent f96d8c9d
......@@ -763,6 +763,8 @@ TEST(Lease6Test, decline) {
// Move the lease to declined state and set probation-period to 123 seconds
lease.decline(123);
ASSERT_TRUE(lease.duid_);
ASSERT_EQ("00", lease.duid_->toText());
ASSERT_FALSE(lease.hwaddr_);
EXPECT_EQ(0, lease.t1_);
EXPECT_EQ(0, lease.t2_);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment