diff options
author | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2017-07-09 19:09:55 +0200 |
---|---|---|
committer | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2017-07-09 19:09:55 +0200 |
commit | e2a0d9c74a1e5316727c67c60d896678aff7d602 (patch) | |
tree | 70713353400bdc81e4c95b34493afaf1bda3e567 /test/ua.c | |
parent | e6aae167f2c650028e702f933a85b44be03f5de0 (diff) |
test: remove useragent password for un-authenticated tests
Diffstat (limited to 'test/ua.c')
-rw-r--r-- | test/ua.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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), |