changeset 1464:8e293681deb5

Test telephone configuration in LDAP tests
author Rob Hoelz <rob@hoelz.ro>
date Wed, 02 Jul 2014 22:28:46 -0500
parents d47972f783fb
children 07582b8aaf84
files mod_lib_ldap/dev/t/02-vcard.t
diffstat 1 files changed, 27 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_lib_ldap/dev/t/02-vcard.t	Wed Jul 02 22:28:00 2014 -0500
+++ b/mod_lib_ldap/dev/t/02-vcard.t	Wed Jul 02 22:28:46 2014 -0500
@@ -77,26 +77,51 @@
 test_vcard(one => {
     FN       => 'John Testerson',
     NICKNAME => 'one',
+    TEL      => {
+        NUMBER => '555-555-5555',
+        WORK   => '',
+        VOICE  => '',
+    },
 });
 
 test_vcard(two => {
     FN       => 'Jane Testerson',
     NICKNAME => 'two',
+    TEL      => {
+        NUMBER => '',
+        WORK   => '',
+        VOICE  => '',
+    },
 });
 
 test_vcard(three => {
     FN       => 'Jerry Testerson',
     NICKNAME => 'three',
+    TEL      => {
+        NUMBER => '',
+        WORK   => '',
+        VOICE  => '',
+    },
 });
 
 test_vcard(four => {
     FN       => 'Jack Testerson',
     NICKNAME => 'four',
+    TEL      => {
+        NUMBER => '',
+        WORK   => '',
+        VOICE  => '',
+    },
 });
 
 test_vcard(five => {
-    FN           => 'Jimmy Testerson',
-    NICKNAME     => 'five',
+    FN       => 'Jimmy Testerson',
+    NICKNAME => 'five',
+    TEL      => {
+        NUMBER => '',
+        WORK   => '',
+        VOICE  => '',
+    },
     _avatar      => $photo_data,
     _avatar_type => 'image/jpeg',
 });