2
0
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:
Mukund Sivaraman
2012-03-30 03:39:02 +05:30
parent 9d192aa44e
commit 376c01fc1b

View File

@@ -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(