about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--stabbertests/test_connect.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/stabbertests/test_connect.c b/stabbertests/test_connect.c
index 87079b0b..1c833c82 100644
--- a/stabbertests/test_connect.c
+++ b/stabbertests/test_connect.c
@@ -178,13 +178,14 @@ responds_to_ping(void **state)
     prof_process_xmpp(20);
 
     stbbr_send(
-        "<iq id=\"ping1\" type=\"get\" to=\"stabber@localhost\" from=\"localhost\">"
+        "<iq id=\"ping1\" type=\"get\" to=\"stabber@localhost/profanity\" from=\"localhost\">"
             "<ping xmlns=\"urn:xmpp:ping\"/>"
-        "</iq>");
+        "</iq>"
+    );
 
     prof_process_xmpp(20);
 
     assert_true(stbbr_verify(
-        "<iq id=\"ping1\" type=\"result\" from=\"stabber@localhost\" to=\"localhost\"/>"
+        "<iq id=\"ping1\" type=\"result\" from=\"stabber@localhost/profanity\" to=\"localhost\"/>"
     ));
 }