From 3ad7b246c32262c4f1ffe3caa147aebae50bbf5f Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 3 Aug 2022 21:35:22 -0700 Subject: [PATCH] (NFC) Add common `@group` for import-related tests --- tests/phpunit/CRM/Activity/Import/Parser/ActivityTest.php | 1 + tests/phpunit/CRM/Contact/Import/Form/DataSourceTest.php | 1 + tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php | 1 + tests/phpunit/CRM/Contact/Import/Parser/ContactTest.php | 1 + .../phpunit/CRM/Contribute/Import/Parser/ContributionTest.php | 1 + tests/phpunit/CRM/Custom/Import/Parser/ApiTest.php | 1 + tests/phpunit/CRM/Event/Import/Parser/ParticipantTest.php | 1 + tests/phpunit/CRM/Import/DataSource/CsvTest.php | 3 +++ tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php | 1 + tests/phpunit/CRM/Utils/Migrate/ImportExportTest.php | 1 + 10 files changed, 12 insertions(+) diff --git a/tests/phpunit/CRM/Activity/Import/Parser/ActivityTest.php b/tests/phpunit/CRM/Activity/Import/Parser/ActivityTest.php index 7a07638ef8..92fa74a7ca 100644 --- a/tests/phpunit/CRM/Activity/Import/Parser/ActivityTest.php +++ b/tests/phpunit/CRM/Activity/Import/Parser/ActivityTest.php @@ -25,6 +25,7 @@ use Civi\Api4\UserJob; * * @package CiviCRM * @group headless + * @group import */ class CRM_Activity_Import_Parser_ActivityTest extends CiviUnitTestCase { use CRMTraits_Custom_CustomDataTrait; diff --git a/tests/phpunit/CRM/Contact/Import/Form/DataSourceTest.php b/tests/phpunit/CRM/Contact/Import/Form/DataSourceTest.php index 10de94bd3a..64d7db013d 100644 --- a/tests/phpunit/CRM/Contact/Import/Form/DataSourceTest.php +++ b/tests/phpunit/CRM/Contact/Import/Form/DataSourceTest.php @@ -21,6 +21,7 @@ use Civi\Api4\UserJob; * * @package CiviCRM * @group headless + * @group import */ class CRM_Contact_Import_Form_DataSourceTest extends CiviUnitTestCase { diff --git a/tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php b/tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php index 5204ee9968..645a8df56c 100644 --- a/tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php +++ b/tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php @@ -22,6 +22,7 @@ use Civi\Api4\UserJob; * * @package CiviCRM * @group headless + * @group import */ class CRM_Contact_Import_Form_MapFieldTest extends CiviUnitTestCase { diff --git a/tests/phpunit/CRM/Contact/Import/Parser/ContactTest.php b/tests/phpunit/CRM/Contact/Import/Parser/ContactTest.php index b9392c3653..14f96d132a 100644 --- a/tests/phpunit/CRM/Contact/Import/Parser/ContactTest.php +++ b/tests/phpunit/CRM/Contact/Import/Parser/ContactTest.php @@ -34,6 +34,7 @@ use Civi\Api4\Website; * * @package CiviCRM * @group headless + * @group import */ class CRM_Contact_Import_Parser_ContactTest extends CiviUnitTestCase { use CRMTraits_Custom_CustomDataTrait; diff --git a/tests/phpunit/CRM/Contribute/Import/Parser/ContributionTest.php b/tests/phpunit/CRM/Contribute/Import/Parser/ContributionTest.php index 2bab48b8a8..0a94114c5b 100644 --- a/tests/phpunit/CRM/Contribute/Import/Parser/ContributionTest.php +++ b/tests/phpunit/CRM/Contribute/Import/Parser/ContributionTest.php @@ -14,6 +14,7 @@ use Civi\Api4\UserJob; * * @package CiviCRM * @group headless + * @group import */ class CRM_Contribute_Import_Parser_ContributionTest extends CiviUnitTestCase { use CRMTraits_Custom_CustomDataTrait; diff --git a/tests/phpunit/CRM/Custom/Import/Parser/ApiTest.php b/tests/phpunit/CRM/Custom/Import/Parser/ApiTest.php index 4816b19708..b7fcb7427a 100644 --- a/tests/phpunit/CRM/Custom/Import/Parser/ApiTest.php +++ b/tests/phpunit/CRM/Custom/Import/Parser/ApiTest.php @@ -9,6 +9,7 @@ * * @package CiviCRM * @group headless + * @group import */ class CRM_Custom_Import_Parser_ApiTest extends CiviUnitTestCase { diff --git a/tests/phpunit/CRM/Event/Import/Parser/ParticipantTest.php b/tests/phpunit/CRM/Event/Import/Parser/ParticipantTest.php index 83628d8436..88425db7af 100644 --- a/tests/phpunit/CRM/Event/Import/Parser/ParticipantTest.php +++ b/tests/phpunit/CRM/Event/Import/Parser/ParticipantTest.php @@ -30,6 +30,7 @@ use Civi\Api4\UserJob; /** * @package CiviCRM * @group headless + * @group import */ class CRM_Participant_Import_Parser_ParticipantTest extends CiviUnitTestCase { diff --git a/tests/phpunit/CRM/Import/DataSource/CsvTest.php b/tests/phpunit/CRM/Import/DataSource/CsvTest.php index aedd68dc40..b087f5cdf0 100644 --- a/tests/phpunit/CRM/Import/DataSource/CsvTest.php +++ b/tests/phpunit/CRM/Import/DataSource/CsvTest.php @@ -11,6 +11,9 @@ /** * Tests for the CRM_Import_Datasource_Csv class. + * + * @group headless + * @group import */ class CRM_Import_DataSource_CsvTest extends CiviUnitTestCase { diff --git a/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php b/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php index caee7ad3a2..b275c57364 100644 --- a/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php +++ b/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php @@ -29,6 +29,7 @@ use Civi\Api4\UserJob; /** * @package CiviCRM * @group headless + * @group import */ class CRM_Member_Import_Parser_MembershipTest extends CiviUnitTestCase { use CRMTraits_Custom_CustomDataTrait; diff --git a/tests/phpunit/CRM/Utils/Migrate/ImportExportTest.php b/tests/phpunit/CRM/Utils/Migrate/ImportExportTest.php index 6d001e3735..d66568484f 100644 --- a/tests/phpunit/CRM/Utils/Migrate/ImportExportTest.php +++ b/tests/phpunit/CRM/Utils/Migrate/ImportExportTest.php @@ -3,6 +3,7 @@ /** * Class CRM_Utils_Migrate_ImportExportTest * @group headless + * @group import */ class CRM_Utils_Migrate_ImportExportTest extends CiviUnitTestCase { -- 2.25.1