tests: don't use makeDummyClientFace
refs #3383
Change-Id: Ia19d16b1f92c5f386c1bbdf3cb4c81aad24f36a0
diff --git a/tests/ping/client/statistics-collector.t.cpp b/tests/ping/client/statistics-collector.t.cpp
index a1cc177..6093785 100644
--- a/tests/ping/client/statistics-collector.t.cpp
+++ b/tests/ping/client/statistics-collector.t.cpp
@@ -33,9 +33,8 @@
{
protected:
StatisticsCollectorFixture()
- : face(util::makeDummyClientFace())
- , pingOptions(makeOptions())
- , pingProgram(*face, pingOptions)
+ : pingOptions(makeOptions())
+ , pingProgram(face, pingOptions)
, sc(pingProgram, pingOptions)
{
}
@@ -57,7 +56,7 @@
}
protected:
- shared_ptr<util::DummyClientFace> face;
+ util::DummyClientFace face;
Options pingOptions;
Ping pingProgram;
StatisticsCollector sc;