Commit b679c5b1 authored by eileen's avatar eileen

Change geocoder message check.

We should be using a dummy geocoder - but since we are not let's at least check for the correct message
parent b460b45c
......@@ -62,7 +62,7 @@ class CRM_Utils_GeocodeTest extends CiviUnitTestCase {
$result_geocode = civicrm_api3('Job', 'geocode', $params_geocode);
}
catch (CiviCRM_API3_Exception $e) {
if ($e->getMessage() == 'A fatal error was triggered: Aborting batch geocoding. Hit the over query limit on geocoder.') {
if ($e->getMessage() == 'Aborting batch geocoding. Hit the over query limit on geocoder.') {
$this->markTestIncomplete('Job.geocode error_message: A fatal error was triggered: Aborting batch geocoding. Hit the over query limit on geocoder.');
}
else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment