Skip to content

Commit

Permalink
More places to fix test with configured email fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Sep 6, 2016
1 parent dabec13 commit 20a2469
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions turba/test/Turba/Unit/ImportTest.php
Expand Up @@ -393,7 +393,7 @@ public function testImportPhone()
'birthday' => '',
'notes' => '',
),
$this->toHash($vcard)
$this->toHash($vcard, self::$emailMap)
);
}

Expand Down Expand Up @@ -506,7 +506,7 @@ public function testImportEmail()
'email' => 'pref@example.com',
'__uid' => 'nhCnPyv0u7',
),
$this->toHash($vcard)
$this->toHash($vcard, self::$emailMap)
);
}

Expand Down Expand Up @@ -591,7 +591,7 @@ public function testBug14046()
N:Rubinsky;Michael;Joseph;;
END:VCARD';

$hash = $this->toHash($vcard);
$hash = $this->toHash($vcard, self::$emailMap);
$this->assertEquals($hash['workEmail'], 'mrubinsk@horde.org');
$this->assertTrue(empty($hash['email']));
}
Expand Down

0 comments on commit 20a2469

Please sign in to comment.