dev/core#676 Disable GeoCoding Tests for PR jobs and re-enable Mailing Test jobs...
authorSeamus Lee <seamuslee001@gmail.com>
Tue, 22 Jan 2019 19:25:53 +0000 (06:25 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Tue, 22 Jan 2019 19:25:53 +0000 (06:25 +1100)
tests/phpunit/CRM/Utils/GeocodeTest.php
tests/phpunit/api/v3/JobProcessMailingTest.php

index 4c6bb1bb12a1d2c7df870046f1dfc201472d31f3..68ea1f5c3363a19b7776a602d3ce9fccae056515 100644 (file)
@@ -13,6 +13,10 @@ class CRM_Utils_GeocodeTest extends CiviUnitTestCase {
     parent::tearDown();
   }
 
+  /**
+   * Test the format returned by Google GeoCoding
+   * @group ornery
+   */
   public function testStateProvinceFormat() {
     $params = array('state_province_id' => 1022, 'country' => 'U.S.A');
     $formatted = CRM_Utils_Geocode_Google::format($params);
@@ -24,6 +28,10 @@ class CRM_Utils_GeocodeTest extends CiviUnitTestCase {
     $this->assertApproxEquals('-94.68', $params['geo_code_2'], 1);
   }
 
+  /**
+   * Test Geoging Method off
+   * @group ornery
+   */
   public function testGeocodeMethodOff() {
     // Set a geocoding provider.
     $result = civicrm_api3('Setting', 'create', array(
index 0c49a9def6ebe24449206c56e8414aa84446ba8d..7bf7396b77b57ba2f0d6afcb340dba6824bdbe8b 100644 (file)
@@ -337,7 +337,6 @@ class api_v3_JobProcessMailingTest extends CiviUnitTestCase {
    *    The total number of contacts for whom messages should have
    *    been sent.
    * @dataProvider concurrencyExamples
-   * @group ornery
    */
   public function testConcurrency($settings, $expectedTallies, $expectedTotal) {
     $settings = array_merge($this->defaultSettings, $settings);