fw: pull FaceTable construction out of Forwarder class
Refs: #4922, #4973
Change-Id: Ibbd4a8840cb0d01ebbd4cabf9c34fa78a1d23db1
diff --git a/tests/daemon/mgmt/fib-manager.t.cpp b/tests/daemon/mgmt/fib-manager.t.cpp
index 4907a61..048f76d 100644
--- a/tests/daemon/mgmt/fib-manager.t.cpp
+++ b/tests/daemon/mgmt/fib-manager.t.cpp
@@ -40,7 +40,6 @@
public:
FibManagerFixture()
: m_fib(m_forwarder.getFib())
- , m_faceTable(m_forwarder.getFaceTable())
, m_manager(m_fib, m_faceTable, m_dispatcher, *m_authenticator)
{
setTopPrefix();
@@ -126,7 +125,6 @@
protected:
Fib& m_fib;
- FaceTable& m_faceTable;
FibManager m_manager;
};
@@ -144,8 +142,7 @@
return os << "NO_NEXTHOP";
case FibManagerFixture::CheckNextHopResult::WRONG_COST:
return os << "WRONG_COST";
- };
-
+ }
return os << static_cast<int>(result);
}