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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentapi/src/tests/policies/testframe.cpp b/documentapi/src/tests/policies/testframe.cpp
index 4cdc5d4ba14..9834e534a56 100644
--- a/documentapi/src/tests/policies/testframe.cpp
+++ b/documentapi/src/tests/policies/testframe.cpp
@@ -122,7 +122,7 @@ TestFrame::testSelect(const std::vector<string> &expected)
}
node->handleReply(std::make_unique<mbus::EmptyReply>());
}
- if (_handler.getReply(600).get() == nullptr) {
+ if (_handler.getReply(600s).get() == nullptr) {
LOG(error, "Reply not propagated to handler.");
return false;
}
@@ -166,7 +166,7 @@ TestFrame::testMerge(const ReplyMap &replies,
node->handleReply(std::move(ret));
}
- mbus::Reply::UP reply = _handler.getReply(600);
+ mbus::Reply::UP reply = _handler.getReply(600s);
if (reply.get() == nullptr) {
LOG(error, "Reply not propagated to handler.");
return false;