Actually use virtual network in OrtcFactory unit test.

I intended to do this originally, but just forgot to pass the thread
with the virtual socket server into OrtcFactory::Create...

BUG=None
TBR=pthatcher@webrtc.org

Review-Url: https://codereview.webrtc.org/2967453002
Cr-Commit-Position: refs/heads/master@{#18831}
This commit is contained in:
deadbeef 2017-06-29 05:34:45 -07:00 committed by Commit Bot
parent 8a90f87518
commit 57ca81aff0

View File

@ -29,7 +29,7 @@ class OrtcFactoryTest : public testing::Test {
: thread_(&virtual_socket_server_),
fake_packet_transport_("fake transport") {
ortc_factory_ =
OrtcFactory::Create(nullptr, nullptr, &fake_network_manager_, nullptr,
OrtcFactory::Create(&thread_, nullptr, &fake_network_manager_, nullptr,
nullptr,
std::unique_ptr<cricket::MediaEngineInterface>(
new cricket::FakeMediaEngine()))