mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
parent
626d13bae2
commit
46c2326e6b
3 changed files with 4 additions and 2 deletions
|
|
@ -326,7 +326,8 @@ KIND:individual
|
||||||
IMPP:sip:' . $this->getIdentifierAttribute();
|
IMPP:sip:' . $this->getIdentifierAttribute();
|
||||||
|
|
||||||
$vcard .= '
|
$vcard .= '
|
||||||
FN:' . !empty($this->attributes['display_name'])
|
FN:';
|
||||||
|
$vcard .= !empty($this->attributes['display_name'])
|
||||||
? $this->attributes['display_name']
|
? $this->attributes['display_name']
|
||||||
: $this->getIdentifierAttribute();
|
: $this->getIdentifierAttribute();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,7 @@ class AccountContactTest extends TestCase
|
||||||
$this->keyAuthenticated($password1->account)
|
$this->keyAuthenticated($password1->account)
|
||||||
->get('/contacts/vcard')
|
->get('/contacts/vcard')
|
||||||
->assertStatus(200)
|
->assertStatus(200)
|
||||||
|
->assertSeeText("FN:".$password2->display_name)
|
||||||
->assertSeeText("X-LINPHONE-ACCOUNT-TYPE:".$typeKey)
|
->assertSeeText("X-LINPHONE-ACCOUNT-TYPE:".$typeKey)
|
||||||
->assertSeeText("X-LINPHONE-ACCOUNT-DTMF-PROTOCOL:".$password2->dtmf_protocol)
|
->assertSeeText("X-LINPHONE-ACCOUNT-DTMF-PROTOCOL:".$password2->dtmf_protocol)
|
||||||
->assertSeeText("X-LINPHONE-ACCOUNT-ACTION:".$actionKey.';'.$actionCode);
|
->assertSeeText("X-LINPHONE-ACCOUNT-ACTION:".$actionKey.';'.$actionCode);
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
#%define _datadir %{_datarootdir}
|
#%define _datadir %{_datarootdir}
|
||||||
#%define _docdir %{_datadir}/doc
|
#%define _docdir %{_datadir}/doc
|
||||||
|
|
||||||
%define build_number 157
|
%define build_number 158
|
||||||
%define var_dir /var/opt/belledonne-communications
|
%define var_dir /var/opt/belledonne-communications
|
||||||
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager
|
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue