Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
2d99e3f9
Commit
2d99e3f9
authored
Sep 22, 2015
by
Tomek Mrugalski
🛰
Browse files
[3982] Minor fix after review:
- DUID is checked in Lease6::decline() unit-test.
parent
f96d8c9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/tests/lease_unittest.cc
View file @
2d99e3f9
...
...
@@ -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_
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment