changeset 827:e801edea846a

Compare decoded JPEG avatar data
author Rob Hoelz <rob@hoelz.ro>
date Tue, 18 Sep 2012 00:14:00 +0200
parents 9dc7d92f44e8
children 855b28e10b39
files mod_lib_ldap/dev/t/02-vcard.t
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_lib_ldap/dev/t/02-vcard.t	Tue Sep 18 00:13:37 2012 +0200
+++ b/mod_lib_ldap/dev/t/02-vcard.t	Tue Sep 18 00:14:00 2012 +0200
@@ -4,6 +4,7 @@
 
 use TestConnection;
 use AnyEvent::XMPP::Ext::VCard;
+use MIME::Base64 qw(decode_base64);
 use Test::More;
 
 sub test_vcard {
@@ -66,7 +67,7 @@
     my $data = <DATA>;
     chomp $data;
 
-    $data
+    decode_base64($data)
 };
 
 test_vcard(one => {