diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/call.c | 4 | ||||
-rw-r--r-- | test/message.c | 2 | ||||
-rw-r--r-- | test/ua.c | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/test/call.c b/test/call.c index 95ec8ac..0cd0394 100644 --- a/test/call.c +++ b/test/call.c @@ -67,10 +67,10 @@ struct fixture { mock_aucodec_register(); \ \ err = ua_alloc(&f->a.ua, \ - "A <sip:a:xxx@127.0.0.1>;regint=0" prm); \ + "A <sip:a@127.0.0.1>;regint=0" prm); \ TEST_ERR(err); \ err = ua_alloc(&f->b.ua, \ - "B <sip:b:xxx@127.0.0.1>;regint=0" prm); \ + "B <sip:b@127.0.0.1>;regint=0" prm); \ TEST_ERR(err); \ \ f->a.peer = &f->b; \ diff --git a/test/message.c b/test/message.c index c4ca053..ddad3ce 100644 --- a/test/message.c +++ b/test/message.c @@ -134,7 +134,7 @@ static int endpoint_alloc(struct endpoint **epp, struct test *test, ep->test = test; if (re_snprintf(aor, sizeof(aor), - "%s <sip:%s:xxx@127.0.0.1;transport=%s>;regint=0", + "%s <sip:%s@127.0.0.1;transport=%s>;regint=0", name, name, sip_transp_name(transp)) < 0) { err = ENOMEM; @@ -169,7 +169,7 @@ int test_ua_alloc(void) /* make sure we dont have that UA already */ ASSERT_TRUE(NULL == uag_find_aor("sip:user@127.0.0.1")); - err = ua_alloc(&ua, "Foo <sip:user:pass@127.0.0.1>;regint=0"); + err = ua_alloc(&ua, "Foo <sip:user@127.0.0.1>;regint=0"); if (err) return err; @@ -199,8 +199,8 @@ int test_uag_find_param(void) ASSERT_TRUE(NULL == uag_find_param("not", "found")); - err = ua_alloc(&ua1, "<sip:x:x@127.0.0.1>;regint=0;abc"); - err |= ua_alloc(&ua2, "<sip:x:x@127.0.0.1>;regint=0;def=123"); + err = ua_alloc(&ua1, "<sip:x@127.0.0.1>;regint=0;abc"); + err |= ua_alloc(&ua2, "<sip:x@127.0.0.1>;regint=0;def=123"); if (err) goto out; @@ -685,7 +685,7 @@ int test_ua_options(void) err = sip_transp_laddr(uag_sip(), &laddr, SIP_TRANSP_UDP, NULL); TEST_ERR(err); - err = ua_alloc(&t.ua, "Foo <sip:user:pass@127.0.0.1>;regint=0"); + err = ua_alloc(&t.ua, "Foo <sip:user@127.0.0.1>;regint=0"); TEST_ERR(err); n = re_snprintf(uri, sizeof(uri), |