mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 06:25:34 +00:00
[1627] Fix type of exception thrown in testcase
NameParserExceptions are now caught and AuthConfigError is thrown.
This commit is contained in:
@@ -332,7 +332,7 @@ TEST_F(MemoryDatasrcConfigTest, addBadZone) {
|
|||||||
"[{\"type\": \"memory\","
|
"[{\"type\": \"memory\","
|
||||||
" \"zones\": [{\"origin\": \"example..com\","
|
" \"zones\": [{\"origin\": \"example..com\","
|
||||||
" \"file\": \"example.zone\"}]}]")),
|
" \"file\": \"example.zone\"}]}]")),
|
||||||
EmptyLabel);
|
AuthConfigError);
|
||||||
|
|
||||||
// bogus RR class name
|
// bogus RR class name
|
||||||
EXPECT_THROW(parser->build(
|
EXPECT_THROW(parser->build(
|
||||||
|
Reference in New Issue
Block a user