tests: merge DummyFace::LinkService with DummyReceiveLinkService
Change-Id: I0b45d80055085278bbe028ef95898d68c6e3f824
diff --git a/tests/daemon/face/websocket-transport-fixture.hpp b/tests/daemon/face/websocket-transport-fixture.hpp
index 07763cd..bcf9cf9 100644
--- a/tests/daemon/face/websocket-transport-fixture.hpp
+++ b/tests/daemon/face/websocket-transport-fixture.hpp
@@ -31,7 +31,7 @@
#include "tests/test-common.hpp"
#include "tests/daemon/limited-io.hpp"
-#include "dummy-receive-link-service.hpp"
+#include "tests/daemon/face/dummy-link-service.hpp"
namespace nfd {
namespace face {
@@ -109,11 +109,10 @@
BOOST_REQUIRE_EQUAL(limitedIo.run(2, // serverHandleOpen, clientHandleOpen
1_s), LimitedIo::EXCEED_OPS);
- face = make_unique<Face>(
- make_unique<DummyReceiveLinkService>(),
- make_unique<WebSocketTransport>(serverHdl, std::ref(server), pingInterval));
+ face = make_unique<Face>(make_unique<DummyLinkService>(),
+ make_unique<WebSocketTransport>(serverHdl, std::ref(server), pingInterval));
transport = static_cast<WebSocketTransport*>(face->getTransport());
- serverReceivedPackets = &static_cast<DummyReceiveLinkService*>(face->getLinkService())->receivedPackets;
+ serverReceivedPackets = &static_cast<DummyLinkService*>(face->getLinkService())->receivedPackets;
BOOST_REQUIRE_EQUAL(transport->getState(), TransportState::UP);
}