tests: sign command Interests with CommandInterestSigner
Previously used ndn::v2::KeyChain::sign creates signed Interests, not
command Interests.
refs #4089
Change-Id: I7b13926d676ff81041f036eaec1978d82e8e1dfd
diff --git a/tests/daemon/mgmt/forwarder-status-manager.t.cpp b/tests/daemon/mgmt/forwarder-status-manager.t.cpp
index b9cade3..3b30b5c 100644
--- a/tests/daemon/mgmt/forwarder-status-manager.t.cpp
+++ b/tests/daemon/mgmt/forwarder-status-manager.t.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2014-2016, Regents of the University of California,
+ * Copyright (c) 2014-2017, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -70,9 +70,8 @@
// request
time::system_clock::TimePoint beforeRequest = time::system_clock::now();
- auto request = makeInterest("ndn:/localhost/nfd/status/general");
- request->setMustBeFresh(true);
- request->setChildSelector(1);
+ Interest request("/localhost/nfd/status/general");
+ request.setMustBeFresh(true).setChildSelector(1);
this->receiveInterest(request);
time::system_clock::TimePoint afterRequest = time::system_clock::now();