tests: add StrategyTester to strategy registry
refs #3868
Change-Id: Iaeb684b03726cf8c0aa9eb3ca8e52537f892fb1b
diff --git a/tests/daemon/fw/best-route-strategy2.t.cpp b/tests/daemon/fw/best-route-strategy2.t.cpp
index d664544..29de094 100644
--- a/tests/daemon/fw/best-route-strategy2.t.cpp
+++ b/tests/daemon/fw/best-route-strategy2.t.cpp
@@ -36,6 +36,9 @@
using namespace nfd::tests;
+typedef StrategyTester<BestRouteStrategy2> BestRouteStrategy2Tester;
+NFD_REGISTER_STRATEGY(BestRouteStrategy2Tester);
+
BOOST_AUTO_TEST_SUITE(Fw)
class BestRouteStrategy2Fixture : public UnitTestTimeFixture
@@ -60,7 +63,7 @@
public:
Forwarder forwarder;
- StrategyTester<fw::BestRouteStrategy2> strategy;
+ BestRouteStrategy2Tester strategy;
Fib& fib;
Pit& pit;