From: Daniƫl <9696905+DanielvV@users.noreply.github.com> Date: Wed, 4 Oct 2017 07:25:06 +0000 (+0200) Subject: CRM-21249 - Geocode warns hitting Google limit - small change X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=29bcf8cead58c24cbba94584dc468a57d586afa6;p=civicrm-core.git CRM-21249 - Geocode warns hitting Google limit - small change Instead of throwing an error --- diff --git a/tests/phpunit/CRM/Utils/GeocodeTest.php b/tests/phpunit/CRM/Utils/GeocodeTest.php index c59461abad..56e348e560 100644 --- a/tests/phpunit/CRM/Utils/GeocodeTest.php +++ b/tests/phpunit/CRM/Utils/GeocodeTest.php @@ -68,6 +68,9 @@ class CRM_Utils_GeocodeTest extends CiviUnitTestCase { if ($e->getMessage() == 'A fatal error was triggered: 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 { + throw $e; + } } $params_address_getsingle = array( 'contact_id' => $contact_values['id'],