about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-05-24 21:50:05 +0100
committerJames Booth <boothj5@gmail.com>2015-05-24 21:50:05 +0100
commitaf73cb82e6552314e41b01043e086f9d55b1d8d4 (patch)
treec419375afb8833da85e7ea982e0eb708ce74a4f4
parent7fb00a1e15b192c852e7960708276f5915dc70ab (diff)
downloadprofani-tty-af73cb82e6552314e41b01043e086f9d55b1d8d4.tar.gz
Include resource in ping test
-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\"/>"
     ));
 }