tests: Improving ManagementTool test suite and fixing discovered bugs
Change-Id: I1c7e51cf105544325657825474f9ee85d61396ed
Refs: #2226
diff --git a/tools/ndns-delete-zone.cpp b/tools/ndns-delete-zone.cpp
index 12bc7f3..141f498 100644
--- a/tools/ndns-delete-zone.cpp
+++ b/tools/ndns-delete-zone.cpp
@@ -78,7 +78,8 @@
try {
Name zone(zoneStr);
- ndn::ndns::ManagementTool tool(db);
+ ndn::KeyChain keyChain;
+ ndn::ndns::ManagementTool tool(db, keyChain);
tool.deleteZone(zone);
}
catch (const std::exception& ex) {