tests: set CanBePrefix in daemon tests
This commit also updates makeInterest and makeNack functions
so that their APIs are compatible with ndn-cxx test suite.
refs #4581
Change-Id: I0c81740416c26a03450dc3a12c89944b72ce5901
diff --git a/tests/daemon/mgmt/rib-manager.t.cpp b/tests/daemon/mgmt/rib-manager.t.cpp
index dd34b5e..70369a7 100644
--- a/tests/daemon/mgmt/rib-manager.t.cpp
+++ b/tests/daemon/mgmt/rib-manager.t.cpp
@@ -445,7 +445,7 @@
}
}
- receiveInterest(Interest("/localhost/nfd/rib/list"));
+ receiveInterest(*makeInterest("/localhost/nfd/rib/list", true));
Block content = concatenateResponses();
content.parse();