tests: Improving ManagementTool test suite and fixing discovered bugs
Change-Id: I1c7e51cf105544325657825474f9ee85d61396ed
Refs: #2226
diff --git a/tools/ndns-get-rr.cpp b/tools/ndns-get-rr.cpp
index bdf86e0..8e655fd 100644
--- a/tools/ndns-get-rr.cpp
+++ b/tools/ndns-get-rr.cpp
@@ -99,7 +99,8 @@
Name label(rrLabelStr);
name::Component type(rrTypeStr);
- ndn::ndns::ManagementTool tool(db);
+ ndn::KeyChain keyChain;
+ ndn::ndns::ManagementTool tool(db, keyChain);
tool.getRrSet(zoneName, label, type, std::cout);
}
catch (const std::exception& ex) {