Fix mozmill bustage from bug 422845
authorMark Banner <bugzilla@standard8.plus.com>
Fri, 06 May 2011 13:10:21 +0100
changeset 7711 6e2ec369d646e8f700f6b3ab4059b91e82ef97ea
parent 7710 d5ac0eb3914110891276c969d3a3d72bb7795c50
child 7712 8e1da10cd1117901aefbac067cf411f44cb6d324
push id5917
push userbugzilla@standard8.plus.com
push dateFri, 06 May 2011 12:11:01 +0000
treeherdercomm-central@6e2ec369d646 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs422845
Fix mozmill bustage from bug 422845
mail/test/mozmill/shared-modules/test-address-book-helpers.js
--- a/mail/test/mozmill/shared-modules/test-address-book-helpers.js
+++ b/mail/test/mozmill/shared-modules/test-address-book-helpers.js
@@ -93,17 +93,17 @@ function installInto(module) {
  * @param emailAddress the address that should have a card
  * @param displayName the display name the card should have
  * @param preferDisplayName |true| if the card display name should override the
  *                          header display name
  */
 function ensure_card_exists(emailAddress, displayName, preferDisplayName)
 {
   ensure_no_card_exists(emailAddress);
-  let card = create_card(emailAddress, displayName, preferDisplayName);
+  let card = create_contact(emailAddress, displayName, preferDisplayName);
   collectedAddresses.addCard(card);
 }
 
 /**
  * Make sure that there is no card for this email address
  * @param emailAddress the address that should have no cards
  */
 function ensure_no_card_exists(emailAddress)