mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +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\","
|
||||
" \"zones\": [{\"origin\": \"example..com\","
|
||||
" \"file\": \"example.zone\"}]}]")),
|
||||
EmptyLabel);
|
||||
AuthConfigError);
|
||||
|
||||
// bogus RR class name
|
||||
EXPECT_THROW(parser->build(
|
||||
|
Reference in New Issue
Block a user