tests: register instead of install DummyStrategy
refs #3868
Change-Id: I5e44582625be51ef874e2a92e4bb7cc22d5b607b
diff --git a/tests/daemon/fw/strategy.t.cpp b/tests/daemon/fw/strategy.t.cpp
index 0ec85ca..0ac550a 100644
--- a/tests/daemon/fw/strategy.t.cpp
+++ b/tests/daemon/fw/strategy.t.cpp
@@ -46,7 +46,7 @@
public:
explicit
FaceTableAccessTestStrategy(Forwarder& forwarder)
- : DummyStrategy(forwarder, Name("ndn:/strategy"))
+ : DummyStrategy(forwarder)
{
this->afterAddFace.connect([this] (const Face& face) {
this->addedFaces.push_back(face.getId());
@@ -106,7 +106,7 @@
public:
explicit
TestStrategy(Forwarder& forwarder)
- : DummyStrategy(forwarder, Name("ndn:/strategy"))
+ : DummyStrategy(forwarder)
{
}