From 29bcf8cead58c24cbba94584dc468a57d586afa6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Dani=C3=ABl?= <9696905+DanielvV@users.noreply.github.com> Date: Wed, 4 Oct 2017 09:25:06 +0200 Subject: [PATCH] CRM-21249 - Geocode warns hitting Google limit - small change Instead of throwing an error --- tests/phpunit/CRM/Utils/GeocodeTest.php | 3 +++ 1 file changed, 3 insertions(+) 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'], -- 2.25.1