summaryrefslogtreecommitdiffstats
path: root/documentapi/src/tests/policies/testframe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'documentapi/src/tests/policies/testframe.cpp')
-rw-r--r--documentapi/src/tests/policies/testframe.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/documentapi/src/tests/policies/testframe.cpp b/documentapi/src/tests/policies/testframe.cpp
index 585885b7c4b..16ee97ce7f4 100644
--- a/documentapi/src/tests/policies/testframe.cpp
+++ b/documentapi/src/tests/policies/testframe.cpp
@@ -60,9 +60,8 @@ public:
TestFrame::TestFrame(const std::shared_ptr<const DocumentTypeRepo> &repo, const string &ident) :
_identity(ident),
_slobrok(std::make_shared<mbus::Slobrok>()),
- _set(),
_net(std::make_shared<MyNetwork>(mbus::RPCNetworkParams(_slobrok->config()).setIdentity(mbus::Identity(ident)))),
- _mbus(std::make_shared<mbus::MessageBus>(*_net, mbus::MessageBusParams().addProtocol(std::make_shared<DocumentProtocol>(_set, repo)))),
+ _mbus(std::make_shared<mbus::MessageBus>(*_net, mbus::MessageBusParams().addProtocol(std::make_shared<DocumentProtocol>(repo)))),
_msg(),
_hop(mbus::HopSpec("foo", "bar")),
_handler()