summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue/iq_request_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/jingle_glue/iq_request_unittest.cc')
-rw-r--r--remoting/jingle_glue/iq_request_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/jingle_glue/iq_request_unittest.cc b/remoting/jingle_glue/iq_request_unittest.cc
index 4b323fb..d7eeda6 100644
--- a/remoting/jingle_glue/iq_request_unittest.cc
+++ b/remoting/jingle_glue/iq_request_unittest.cc
@@ -31,7 +31,8 @@ TEST(IqRequestTest, MakeIqStanza) {
buzz::XmlElement* iq_body =
new buzz::XmlElement(buzz::QName(kNamespace, kBodyTag));
scoped_ptr<buzz::XmlElement> stanza(
- IqRequest::MakeIqStanza(kType, kTo, iq_body, kMessageId));
+ IqRequest::MakeIqStanza(kType, kTo, iq_body));
+ stanza->AddAttr(buzz::QName("", "id"), kMessageId);
EXPECT_EQ(expected_xml_string, stanza->Str());
}