Software /
code /
prosody-modules
Changeset
829:9c134ff07d0f
Test for present avatar data in user vCard
author | Rob Hoelz <rob@hoelz.ro> |
---|---|
date | Tue, 18 Sep 2012 00:16:12 +0200 |
parents | 828:855b28e10b39 |
children | 830:f160166612c2 |
files | mod_lib_ldap/dev/t/02-vcard.t |
diffstat | 1 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_lib_ldap/dev/t/02-vcard.t Tue Sep 18 00:14:31 2012 +0200 +++ b/mod_lib_ldap/dev/t/02-vcard.t Tue Sep 18 00:16:12 2012 +0200 @@ -95,12 +95,10 @@ }); test_vcard(five => { - FN => 'Jimmy Testerson', - NICKNAME => 'five', - PHOTO => { - TYPE => 'image/jpeg', - BINVAL => $photo_data, - } + FN => 'Jimmy Testerson', + NICKNAME => 'five', + _avatar => $photo_data, + _avatar_type => 'image/jpeg', }); __DATA__