summaryrefslogtreecommitdiff
path: root/cpp/src/tests/TxAckTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/TxAckTest.cpp')
-rw-r--r--cpp/src/tests/TxAckTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/tests/TxAckTest.cpp b/cpp/src/tests/TxAckTest.cpp
index 3b9b1db308..df9fa89501 100644
--- a/cpp/src/tests/TxAckTest.cpp
+++ b/cpp/src/tests/TxAckTest.cpp
@@ -69,8 +69,7 @@ public:
{
for(int i = 0; i < 10; i++){
Message::shared_ptr msg(
- new BasicMessage(0, "exchange", "routing_key", false, false,
- MockChannel::basicGetBody()));
+ new BasicMessage(0, "exchange", "routing_key", false, false));
msg->setHeader(AMQHeaderBody::shared_ptr(new AMQHeaderBody(BASIC)));
msg->getHeaderProperties()->setDeliveryMode(PERSISTENT);
messages.push_back(msg);