summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/MessageTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/tests/MessageTest.cpp')
-rw-r--r--qpid/cpp/src/tests/MessageTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/MessageTest.cpp b/qpid/cpp/src/tests/MessageTest.cpp
index d3869b552e..1e976312be 100644
--- a/qpid/cpp/src/tests/MessageTest.cpp
+++ b/qpid/cpp/src/tests/MessageTest.cpp
@@ -46,8 +46,7 @@ class MessageTest : public CppUnit::TestCase
string data2("hijklmn");
BasicMessage::shared_ptr msg(
- new BasicMessage(0, exchange, routingKey, false, false,
- MockChannel::basicGetBody()));
+ new BasicMessage(0, exchange, routingKey, false, false));
AMQHeaderBody::shared_ptr header(new AMQHeaderBody(BASIC));
header->setContentSize(14);
AMQContentBody::shared_ptr part1(new AMQContentBody(data1));