CRM-13344 Update search test
authorColeman Watts <coleman@civicrm.org>
Sat, 28 Sep 2013 21:04:39 +0000 (14:04 -0700)
committerColeman Watts <coleman@civicrm.org>
Sat, 28 Sep 2013 21:04:39 +0000 (14:04 -0700)
----------------------------------------
* CRM-13344: Resolve test / schema issues around prefix_id, suffix_id, gender
  http://issues.civicrm.org/jira/browse/CRM-13344

tests/phpunit/CRM/Contact/BAO/QueryTestDataProvider.php

index c48840fef0ce215a7267bcda33038f2c0829b310..1a8e0c772e750c2fbd51b7ed4c4488e21957f7d1 100644 (file)
@@ -105,12 +105,12 @@ class CRM_Contact_BAO_QueryTestDataProvider implements Iterator {
     ),
     // prefix_id 2 = 'Ms.'
     array(
-      'fv' => array('individual_prefix' => 2),
+      'fv' => array('prefix_id' => 2),
       'id' => array('10', '13'),
     ),
     // suffix_id 6 = 'V'
     array(
-      'fv' => array('individual_suffix' => 6),
+      'fv' => array('suffix_id' => 6),
       'id' => array('16', '19', '20', '21'),
     ),
   );