From dc2ca139f6edade179426283d0b498de86057271 Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:20:44 -0700 Subject: [PATCH 01/13] Closes #5261 Add deprecation reporting back to PHPUnit configuration. --- phpunit.xml.dist | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 5da264db22..5be11acdc3 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -5,11 +5,14 @@ beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutOutputDuringTests="true" beStrictAboutChangesToGlobalState="true" - failOnRisky="false" - failOnWarning="false" + failOnRisky="true" + failOnWarning="true" + failOnDeprecation="true" + failOnPhpunitDeprecation="true" displayDetailsOnTestsThatTriggerErrors="true" displayDetailsOnTestsThatTriggerWarnings="true" displayDetailsOnTestsThatTriggerDeprecations="true" + displayDetailsOnPhpunitDeprecations="true" cacheResult="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache"> From 1063c619d336f226064a96349688aa63fa129d20 Mon Sep 17 00:00:00 2001 From: Joe Parsons Date: Fri, 30 Jan 2026 09:15:05 -0700 Subject: [PATCH 02/13] Convert PHPUnit annotations to attributes, add #[DoesNotPerformAssertions] attribute to tests flagged as risky, ignore Behat/Mink PHP deprecations in Javascript tests. --- .../src/Functional/AzCasDisableLoginFormTest.php | 8 ++++---- .../Functional/AzCasDisablePasswordResetTest.php | 8 ++++---- .../az_cas/tests/src/Functional/AzCasTest.php | 4 ++-- .../EnterpriseAttributesImportTest.php | 4 ++-- .../src/Functional/CacheInvalidationTest.php | 4 ++-- .../tests/src/Functional/ClearCacheTest.php | 4 ++-- .../tests/src/Functional/ConfigOverrideTest.php | 6 ++---- .../tests/src/Functional/MonitoringPageTest.php | 4 ++-- .../src/Unit/AZBootstrapMarkupConverterTest.php | 11 +++++------ .../tests/src/Functional/AZDemoContentTest.php | 4 ++-- .../custom/az_finder/tests/AZFinderIconsTest.php | 4 ++-- .../tests/src/Functional/AzGlobalFooterTest.php | 9 +++++---- .../src/Functional/MigrateExceptionsTest.php | 4 ++-- .../tests/src/Functional/AZParagraphsTest.php | 6 ++---- .../AZParagraphsJavascriptTest.php | 8 ++++---- .../tests/src/Unit/AZVideoEmbedHelperTest.php | 16 +++++++--------- .../AZPublicationInlineContributorTest.php | 8 ++++---- .../tests/src/Functional/AzSelectMenuTest.php | 8 ++++---- .../tests/src/Functional/AzBarrioAdminTest.php | 4 ++-- .../tests/src/Functional/AzBarrioTest.php | 4 ++-- 20 files changed, 61 insertions(+), 67 deletions(-) diff --git a/modules/custom/az_cas/tests/src/Functional/AzCasDisableLoginFormTest.php b/modules/custom/az_cas/tests/src/Functional/AzCasDisableLoginFormTest.php index 925389465e..4e163ed205 100644 --- a/modules/custom/az_cas/tests/src/Functional/AzCasDisableLoginFormTest.php +++ b/modules/custom/az_cas/tests/src/Functional/AzCasDisableLoginFormTest.php @@ -4,12 +4,13 @@ use Drupal\Core\Url; use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; +use PHPUnit\Framework\Attributes\DataProvider; +use PHPUnit\Framework\Attributes\Group; /** * Tests that access to the user login form can be disabled. - * - * @group az_cas */ +#[Group('az_cas')] class AzCasDisableLoginFormTest extends QuickstartFunctionalTestBase { /** @@ -51,9 +52,8 @@ protected function setUp(): void { /** * Tests that access to the user login form is disabled. - * - * @dataProvider azCasSettingsProvider */ + #[DataProvider('azCasSettingsProvider')] public function testUserLoginFormBehavior($disable_login_form) { $edit = [ 'disable_login_form' => $disable_login_form, diff --git a/modules/custom/az_cas/tests/src/Functional/AzCasDisablePasswordResetTest.php b/modules/custom/az_cas/tests/src/Functional/AzCasDisablePasswordResetTest.php index 64d627d6d4..fa8805aed4 100644 --- a/modules/custom/az_cas/tests/src/Functional/AzCasDisablePasswordResetTest.php +++ b/modules/custom/az_cas/tests/src/Functional/AzCasDisablePasswordResetTest.php @@ -3,12 +3,13 @@ namespace Drupal\Tests\az_cas\Functional; use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; +use PHPUnit\Framework\Attributes\DataProvider; +use PHPUnit\Framework\Attributes\Group; /** * Tests that access to the password reset form can be disabled. - * - * @group az_cas */ +#[Group('az_cas')] class AzCasDisablePasswordResetTest extends QuickstartFunctionalTestBase { /** @@ -50,9 +51,8 @@ protected function setUp(): void { /** * Tests that access to the password reset form is disabled. - * - * @dataProvider azCasSettingsProvider */ + #[DataProvider('azCasSettingsProvider')] public function testPasswordResetBehavior($disable_password_recovery_link) { $edit = [ 'disable_password_recovery_link' => $disable_password_recovery_link, diff --git a/modules/custom/az_cas/tests/src/Functional/AzCasTest.php b/modules/custom/az_cas/tests/src/Functional/AzCasTest.php index 9fdd8b0335..4b7b86ef57 100644 --- a/modules/custom/az_cas/tests/src/Functional/AzCasTest.php +++ b/modules/custom/az_cas/tests/src/Functional/AzCasTest.php @@ -4,12 +4,12 @@ use Drupal\Core\Url; use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; +use PHPUnit\Framework\Attributes\Group; /** * Tests for the AZ CAS module. - * - * @group az_cas */ +#[Group('az_cas')] class AzCasTest extends QuickstartFunctionalTestBase { /** diff --git a/modules/custom/az_core/az_enterprise_attributes_import/tests/src/Functional/EnterpriseAttributesImportTest.php b/modules/custom/az_core/az_enterprise_attributes_import/tests/src/Functional/EnterpriseAttributesImportTest.php index 25f184a455..0f7654fc73 100644 --- a/modules/custom/az_core/az_enterprise_attributes_import/tests/src/Functional/EnterpriseAttributesImportTest.php +++ b/modules/custom/az_core/az_enterprise_attributes_import/tests/src/Functional/EnterpriseAttributesImportTest.php @@ -5,12 +5,12 @@ use Drupal\Tests\BrowserTestBase; use Drupal\migrate\MigrateMessage; use Drupal\migrate_tools\MigrateExecutable; +use PHPUnit\Framework\Attributes\Group; /** * Test of attribute import functionality. - * - * @group az_enterprise_attributes_import */ +#[Group('az_enterprise_attributes_import')] class EnterpriseAttributesImportTest extends BrowserTestBase { /** diff --git a/modules/custom/az_core/tests/src/Functional/CacheInvalidationTest.php b/modules/custom/az_core/tests/src/Functional/CacheInvalidationTest.php index e4dadaded1..3040bc1194 100644 --- a/modules/custom/az_core/tests/src/Functional/CacheInvalidationTest.php +++ b/modules/custom/az_core/tests/src/Functional/CacheInvalidationTest.php @@ -3,12 +3,12 @@ namespace Drupal\Tests\az_core\Functional; use Drupal\Tests\BrowserTestBase; +use PHPUnit\Framework\Attributes\Group; /** * Tests cache invalidation when nodes are updated. - * - * @group az_core */ +#[Group('az_core')] class CacheInvalidationTest extends BrowserTestBase { /** diff --git a/modules/custom/az_core/tests/src/Functional/ClearCacheTest.php b/modules/custom/az_core/tests/src/Functional/ClearCacheTest.php index 92d36a459f..8816e0e3c9 100644 --- a/modules/custom/az_core/tests/src/Functional/ClearCacheTest.php +++ b/modules/custom/az_core/tests/src/Functional/ClearCacheTest.php @@ -3,12 +3,12 @@ namespace Drupal\Tests\az_core\Functional; use Drupal\Core\Url; +use PHPUnit\Framework\Attributes\Group; /** * Test to ensure the Quickstart settings clear cache button works correctly. - * - * @group az_core */ +#[Group('az_core')] class ClearCacheTest extends QuickstartFunctionalTestBase { /** diff --git a/modules/custom/az_core/tests/src/Functional/ConfigOverrideTest.php b/modules/custom/az_core/tests/src/Functional/ConfigOverrideTest.php index 6c86fa6236..049478c949 100644 --- a/modules/custom/az_core/tests/src/Functional/ConfigOverrideTest.php +++ b/modules/custom/az_core/tests/src/Functional/ConfigOverrideTest.php @@ -3,14 +3,12 @@ namespace Drupal\Tests\az_core\Functional; use Drupal\Tests\BrowserTestBase; +use PHPUnit\Framework\Attributes\Group; /** * Test to ensure Quickstart configuration overrides work correctly. - * - * @ingroup az_core - * - * @group az_core */ +#[Group('az_core')] class ConfigOverrideTest extends BrowserTestBase { /** diff --git a/modules/custom/az_core/tests/src/Functional/MonitoringPageTest.php b/modules/custom/az_core/tests/src/Functional/MonitoringPageTest.php index f1c0a6f70e..3fd69f9537 100644 --- a/modules/custom/az_core/tests/src/Functional/MonitoringPageTest.php +++ b/modules/custom/az_core/tests/src/Functional/MonitoringPageTest.php @@ -3,12 +3,12 @@ namespace Drupal\Tests\az_core\Functional; use Drupal\Core\Url; +use PHPUnit\Framework\Attributes\Group; /** * Test to ensure that monitoring page works correctly. - * - * @group az_core */ +#[Group('az_core')] class MonitoringPageTest extends QuickstartFunctionalTestBase { /** diff --git a/modules/custom/az_core/tests/src/Unit/AZBootstrapMarkupConverterTest.php b/modules/custom/az_core/tests/src/Unit/AZBootstrapMarkupConverterTest.php index dafddb441a..79f6d8efd9 100644 --- a/modules/custom/az_core/tests/src/Unit/AZBootstrapMarkupConverterTest.php +++ b/modules/custom/az_core/tests/src/Unit/AZBootstrapMarkupConverterTest.php @@ -4,19 +4,19 @@ use Drupal\az_core\Utility\AZBootstrapMarkupConverter; use Drupal\Tests\UnitTestCase; +use PHPUnit\Framework\Attributes\DataProvider; +use PHPUnit\Framework\Attributes\Group; /** * Tests the AZ Bootstrap markup converter. - * - * @group az_core */ +#[Group('az_core')] class AZBootstrapMarkupConverterTest extends UnitTestCase { /** * Test fragments are converted correctly without adding document tags. - * - * @dataProvider provideFragments */ + #[DataProvider('provideFragments')] public function testFragmentConversion($input, $expected) { $result = AZBootstrapMarkupConverter::convert($input); $this->assertEquals($expected, $result); @@ -33,9 +33,8 @@ public function testCompareProcessorNoChanges() { /** * Test that compareProcessor returns converted text when changes are needed. - * - * @dataProvider provideFragments */ + #[DataProvider('provideFragments')] public function testCompareProcessor($input, $expected) { $result = AZBootstrapMarkupConverter::compareProcessor($input); $this->assertEquals($expected, $result, 'Text with Bootstrap classes should be converted'); diff --git a/modules/custom/az_demo/tests/src/Functional/AZDemoContentTest.php b/modules/custom/az_demo/tests/src/Functional/AZDemoContentTest.php index fe612d5a96..e21da99239 100644 --- a/modules/custom/az_demo/tests/src/Functional/AZDemoContentTest.php +++ b/modules/custom/az_demo/tests/src/Functional/AZDemoContentTest.php @@ -5,12 +5,12 @@ use Drupal\Core\Url; use Drupal\Core\Config\FileStorage; use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; +use PHPUnit\Framework\Attributes\Group; /** * Verify successful importing of demo content. - * - * @group az_demo */ +#[Group('az_demo')] class AZDemoContentTest extends QuickstartFunctionalTestBase { /** diff --git a/modules/custom/az_finder/tests/AZFinderIconsTest.php b/modules/custom/az_finder/tests/AZFinderIconsTest.php index 9a46a66379..dabae9d19e 100644 --- a/modules/custom/az_finder/tests/AZFinderIconsTest.php +++ b/modules/custom/az_finder/tests/AZFinderIconsTest.php @@ -5,13 +5,13 @@ namespace Drupal\Tests\az_finder\Unit; use Drupal\az_finder\Service\AZFinderIcons; +use PHPUnit\Framework\Attributes\Group; use PHPUnit\Framework\TestCase; /** * Tests the AZFinderIcons class. - * - * @group az_finder */ +#[Group('az_finder')] class AZFinderIconsTest extends TestCase { /** diff --git a/modules/custom/az_global_footer/tests/src/Functional/AzGlobalFooterTest.php b/modules/custom/az_global_footer/tests/src/Functional/AzGlobalFooterTest.php index e0aff8c05d..b1679e57b0 100644 --- a/modules/custom/az_global_footer/tests/src/Functional/AzGlobalFooterTest.php +++ b/modules/custom/az_global_footer/tests/src/Functional/AzGlobalFooterTest.php @@ -3,12 +3,13 @@ namespace Drupal\Tests\az_global_footer\Functional; use Drupal\Tests\BrowserTestBase; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; +use PHPUnit\Framework\Attributes\Group; /** * Tests the Quickstart Global Footer. - * - * @group az_global_footer */ +#[Group('az_global_footer')] class AzGlobalFooterTest extends BrowserTestBase { /** @@ -32,9 +33,9 @@ class AzGlobalFooterTest extends BrowserTestBase { /** * Tests that the Quickstart Global Footer module can be uninstalled. - * - * @group regression */ + #[Group('regression')] + #[DoesNotPerformAssertions] public function testIsUninstallableAndReinstallable() { // Uninstalls the az_global_footer module, so hook_modules_uninstalled() diff --git a/modules/custom/az_migration/tests/src/Functional/MigrateExceptionsTest.php b/modules/custom/az_migration/tests/src/Functional/MigrateExceptionsTest.php index cdd5141434..47b46e3772 100644 --- a/modules/custom/az_migration/tests/src/Functional/MigrateExceptionsTest.php +++ b/modules/custom/az_migration/tests/src/Functional/MigrateExceptionsTest.php @@ -3,12 +3,12 @@ namespace Drupal\Tests\az_migration\Functional; use Drupal\Tests\BrowserTestBase; +use PHPUnit\Framework\Attributes\Group; /** * Tests the Quickstart Global Footer. - * - * @group az_global_footer */ +#[Group('az_global_footer')] class MigrateExceptionsTest extends BrowserTestBase { /** diff --git a/modules/custom/az_paragraphs/tests/src/Functional/AZParagraphsTest.php b/modules/custom/az_paragraphs/tests/src/Functional/AZParagraphsTest.php index 9d9e91cb2c..787c6bb26c 100644 --- a/modules/custom/az_paragraphs/tests/src/Functional/AZParagraphsTest.php +++ b/modules/custom/az_paragraphs/tests/src/Functional/AZParagraphsTest.php @@ -3,14 +3,12 @@ namespace Drupal\Tests\az_paragraphs\Functional; use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; +use PHPUnit\Framework\Attributes\Group; /** * Run tests of paragraph bundles. - * - * @ingroup az_paragraphs - * - * @group az_paragraphs */ +#[Group('az_paragraphs')] class AZParagraphsTest extends QuickstartFunctionalTestBase { /** diff --git a/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php b/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php index 979bdac761..593b6ad06a 100644 --- a/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php +++ b/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php @@ -3,14 +3,14 @@ namespace Drupal\Tests\az_paragraphs\FunctionalJavascript; use Drupal\Tests\az_core\FunctionalJavascript\QuickstartFunctionalJavascriptTestBase; +use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\IgnoreDeprecations; /** * Run tests of paragraph bundles. - * - * @ingroup az_paragraphs_js - * - * @group az_paragraphs_js */ +#[Group('az_paragraphs_js')] +#[IgnoreDeprecations] class AZParagraphsJavascriptTest extends QuickstartFunctionalJavascriptTestBase { /** diff --git a/modules/custom/az_paragraphs/tests/src/Unit/AZVideoEmbedHelperTest.php b/modules/custom/az_paragraphs/tests/src/Unit/AZVideoEmbedHelperTest.php index 73388239ab..057d09b8a1 100644 --- a/modules/custom/az_paragraphs/tests/src/Unit/AZVideoEmbedHelperTest.php +++ b/modules/custom/az_paragraphs/tests/src/Unit/AZVideoEmbedHelperTest.php @@ -4,14 +4,15 @@ use Drupal\Tests\UnitTestCase; use Drupal\az_paragraphs\AZVideoEmbedHelper; +use PHPUnit\Framework\Attributes\CoversClass; +use PHPUnit\Framework\Attributes\DataProvider; +use PHPUnit\Framework\Attributes\Group; /** - * @coversDefaultClass \Drupal\az_paragraphs\AZVideoEmbedHelper - * - * @ingroup az_paragraphs - * - * @group az_paragraphs + * Test coverage for AZVideoEmbedHelper class. */ +#[CoversClass(AZVideoEmbedHelper::class)] +#[Group('az_paragraphs')] class AZVideoEmbedHelperTest extends UnitTestCase { /** @@ -29,11 +30,8 @@ protected function setUp(): void { /** * Tests parsing of YouTube video ID from URLs. - * - * @covers ::getYoutubeIdFromUrl - * - * @dataProvider providerYouTubeVideoData */ + #[DataProvider('providerYouTubeVideoData')] public function testGetYoutubeIdFromUrl($youtube_url, $expected_id) { $this->assertEquals($expected_id, $this->videoEmbedHelper->getYoutubeIdFromUrl($youtube_url)); } diff --git a/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php b/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php index 05cda80308..96aaa5c142 100644 --- a/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php +++ b/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php @@ -3,14 +3,14 @@ namespace Drupal\Tests\az_publication\FunctionalJavascript; use Drupal\Tests\az_core\FunctionalJavascript\QuickstartFunctionalJavascriptTestBase; +use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\IgnoreDeprecations; /** * Run tests of publication contributor role functionality. - * - * @ingroup az_publication - * - * @group az_publication */ +#[Group('az_publication')] +#[IgnoreDeprecations] class AZPublicationInlineContributorTest extends QuickstartFunctionalJavascriptTestBase { /** diff --git a/modules/custom/az_select_menu/tests/src/Functional/AzSelectMenuTest.php b/modules/custom/az_select_menu/tests/src/Functional/AzSelectMenuTest.php index 2be7902a00..6c5d51ea04 100644 --- a/modules/custom/az_select_menu/tests/src/Functional/AzSelectMenuTest.php +++ b/modules/custom/az_select_menu/tests/src/Functional/AzSelectMenuTest.php @@ -3,12 +3,13 @@ namespace Drupal\Tests\az_select_menu\Functional; use Drupal\Tests\BrowserTestBase; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; +use PHPUnit\Framework\Attributes\Group; /** * Tests the Quickstart select menu block. - * - * @group az_select_menu */ +#[Group('az_select_menu')] class AzSelectMenuTest extends BrowserTestBase { /** @@ -32,9 +33,8 @@ class AzSelectMenuTest extends BrowserTestBase { /** * Tests that the Quickstart Select Menu Block module can be uninstalled. - * - * @group az_select_menu */ + #[DoesNotPerformAssertions] public function testIsUninstallableAndReinstallable() { // Uninstalls the az_select_menu module, so hook_modules_uninstalled() diff --git a/themes/custom/az_barrio/tests/src/Functional/AzBarrioAdminTest.php b/themes/custom/az_barrio/tests/src/Functional/AzBarrioAdminTest.php index dfb76b5d98..89affb47eb 100644 --- a/themes/custom/az_barrio/tests/src/Functional/AzBarrioAdminTest.php +++ b/themes/custom/az_barrio/tests/src/Functional/AzBarrioAdminTest.php @@ -3,12 +3,12 @@ namespace Drupal\Tests\az_barrio\Functional; use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; +use PHPUnit\Framework\Attributes\Group; /** * Tests the Arizona Barrio theme as an admin user. - * - * @group az_barrio */ +#[Group('az_barrio')] class AzBarrioAdminTest extends QuickstartFunctionalTestBase { /** diff --git a/themes/custom/az_barrio/tests/src/Functional/AzBarrioTest.php b/themes/custom/az_barrio/tests/src/Functional/AzBarrioTest.php index 42ad261a78..97e3d516e9 100644 --- a/themes/custom/az_barrio/tests/src/Functional/AzBarrioTest.php +++ b/themes/custom/az_barrio/tests/src/Functional/AzBarrioTest.php @@ -3,12 +3,12 @@ namespace Drupal\Tests\az_barrio\Functional; use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; +use PHPUnit\Framework\Attributes\Group; /** * Tests the Arizona Barrio theme. - * - * @group az_barrio */ +#[Group('az_barrio')] class AzBarrioTest extends QuickstartFunctionalTestBase { /** From cfc3c1c9a8c221319c6d025554876348f023ed13 Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Mon, 16 Feb 2026 13:59:19 -0700 Subject: [PATCH 03/13] Apply suggestions from code review --- .../src/FunctionalJavascript/AZParagraphsJavascriptTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php b/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php index 593b6ad06a..3331abac77 100644 --- a/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php +++ b/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php @@ -4,13 +4,13 @@ use Drupal\Tests\az_core\FunctionalJavascript\QuickstartFunctionalJavascriptTestBase; use PHPUnit\Framework\Attributes\Group; -use PHPUnit\Framework\Attributes\IgnoreDeprecations; +use PHPUnit\Framework\Attributes\IgnorePhpunitDeprecations; /** * Run tests of paragraph bundles. */ #[Group('az_paragraphs_js')] -#[IgnoreDeprecations] +#[IgnorePhpunitDeprecations] class AZParagraphsJavascriptTest extends QuickstartFunctionalJavascriptTestBase { /** From 40069f5a08c0ee91241f1af0e93549143062bd84 Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:04:53 -0700 Subject: [PATCH 04/13] Apply suggestions from code review --- .../src/FunctionalJavascript/AZParagraphsJavascriptTest.php | 2 ++ .../FunctionalJavascript/AZPublicationInlineContributorTest.php | 1 + 2 files changed, 3 insertions(+) diff --git a/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php b/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php index 3331abac77..e3fde2f8a0 100644 --- a/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php +++ b/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php @@ -4,12 +4,14 @@ use Drupal\Tests\az_core\FunctionalJavascript\QuickstartFunctionalJavascriptTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\IgnoreDeprecations; use PHPUnit\Framework\Attributes\IgnorePhpunitDeprecations; /** * Run tests of paragraph bundles. */ #[Group('az_paragraphs_js')] +#[IgnoreDeprecations] #[IgnorePhpunitDeprecations] class AZParagraphsJavascriptTest extends QuickstartFunctionalJavascriptTestBase { diff --git a/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php b/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php index 96aaa5c142..fca41ce13b 100644 --- a/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php +++ b/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php @@ -5,6 +5,7 @@ use Drupal\Tests\az_core\FunctionalJavascript\QuickstartFunctionalJavascriptTestBase; use PHPUnit\Framework\Attributes\Group; use PHPUnit\Framework\Attributes\IgnoreDeprecations; +use PHPUnit\Framework\Attributes\IgnorePhpunitDeprecations; /** * Run tests of publication contributor role functionality. From d63474d7878b1cfe41e0912b6d582ed237e9f135 Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:05:42 -0700 Subject: [PATCH 05/13] Apply suggestions from code review --- .../FunctionalJavascript/AZPublicationInlineContributorTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php b/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php index fca41ce13b..8670633432 100644 --- a/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php +++ b/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php @@ -12,6 +12,7 @@ */ #[Group('az_publication')] #[IgnoreDeprecations] +#[IgnorePhpunitDeprecations] class AZPublicationInlineContributorTest extends QuickstartFunctionalJavascriptTestBase { /** From 578b692bf6ae4525c8f642592e94fb5649383928 Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:06:39 -0700 Subject: [PATCH 06/13] Apply suggestion from @joeparsons --- .../az_global_footer/tests/src/Functional/AzGlobalFooterTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/custom/az_global_footer/tests/src/Functional/AzGlobalFooterTest.php b/modules/custom/az_global_footer/tests/src/Functional/AzGlobalFooterTest.php index b1679e57b0..2ec4ecd8f8 100644 --- a/modules/custom/az_global_footer/tests/src/Functional/AzGlobalFooterTest.php +++ b/modules/custom/az_global_footer/tests/src/Functional/AzGlobalFooterTest.php @@ -34,7 +34,6 @@ class AzGlobalFooterTest extends BrowserTestBase { /** * Tests that the Quickstart Global Footer module can be uninstalled. */ - #[Group('regression')] #[DoesNotPerformAssertions] public function testIsUninstallableAndReinstallable() { From 1784cac924e8abcfcb8453d244d26f6f7044caa2 Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Mon, 16 Feb 2026 17:11:40 -0700 Subject: [PATCH 07/13] Remove regression group tag from migration test method Removed the regression group tag from the testGlobalFooterMigration method. --- .../az_migration/tests/src/Functional/MigrateExceptionsTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/custom/az_migration/tests/src/Functional/MigrateExceptionsTest.php b/modules/custom/az_migration/tests/src/Functional/MigrateExceptionsTest.php index 47b46e3772..bc9cbcf504 100644 --- a/modules/custom/az_migration/tests/src/Functional/MigrateExceptionsTest.php +++ b/modules/custom/az_migration/tests/src/Functional/MigrateExceptionsTest.php @@ -39,8 +39,6 @@ class MigrateExceptionsTest extends BrowserTestBase { /** * Tests that the Quickstart Global Footer module can be installed. - * - * @group regression */ public function testGlobalFooterMigration() { // Install the az_global_footer module. From d8943c89435dca183c265c0e97ffe80640a428bf Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Mon, 16 Feb 2026 17:28:19 -0700 Subject: [PATCH 08/13] Disable failOnPhpunitDeprecation option --- phpunit.xml.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 5be11acdc3..8e2bf38a27 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -8,7 +8,7 @@ failOnRisky="true" failOnWarning="true" failOnDeprecation="true" - failOnPhpunitDeprecation="true" + failOnPhpunitDeprecation="false" displayDetailsOnTestsThatTriggerErrors="true" displayDetailsOnTestsThatTriggerWarnings="true" displayDetailsOnTestsThatTriggerDeprecations="true" From 2a870a455939dae166a1636b351294417b7a6ebd Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Fri, 13 Feb 2026 09:45:21 -0700 Subject: [PATCH 09/13] Add #[RunTestsInSeparateProcesses] attribute to all Functional/Kernel tests for https://www.drupal.org/node/3548485. --- .../az_cas/tests/src/Functional/AzCasDisableLoginFormTest.php | 2 ++ .../tests/src/Functional/AzCasDisablePasswordResetTest.php | 2 ++ modules/custom/az_cas/tests/src/Functional/AzCasTest.php | 2 ++ .../tests/src/Functional/EnterpriseAttributesImportTest.php | 2 ++ .../az_core/tests/src/Functional/CacheInvalidationTest.php | 2 ++ modules/custom/az_core/tests/src/Functional/ClearCacheTest.php | 2 ++ .../custom/az_core/tests/src/Functional/ConfigOverrideTest.php | 2 ++ .../custom/az_core/tests/src/Functional/MonitoringPageTest.php | 2 ++ .../custom/az_demo/tests/src/Functional/AZDemoContentTest.php | 2 ++ .../tests/src/Functional/AzGlobalFooterTest.php | 3 +++ .../tests/src/Functional/MigrateExceptionsTest.php | 2 ++ .../az_paragraphs/tests/src/Functional/AZParagraphsTest.php | 2 ++ .../src/FunctionalJavascript/AZParagraphsJavascriptTest.php | 2 ++ .../AZPublicationInlineContributorTest.php | 2 ++ .../az_select_menu/tests/src/Functional/AzSelectMenuTest.php | 2 ++ .../az_barrio/tests/src/Functional/AzBarrioAdminTest.php | 2 ++ themes/custom/az_barrio/tests/src/Functional/AzBarrioTest.php | 2 ++ 17 files changed, 35 insertions(+) diff --git a/modules/custom/az_cas/tests/src/Functional/AzCasDisableLoginFormTest.php b/modules/custom/az_cas/tests/src/Functional/AzCasDisableLoginFormTest.php index 4e163ed205..a2ba23ab1b 100644 --- a/modules/custom/az_cas/tests/src/Functional/AzCasDisableLoginFormTest.php +++ b/modules/custom/az_cas/tests/src/Functional/AzCasDisableLoginFormTest.php @@ -6,11 +6,13 @@ use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests that access to the user login form can be disabled. */ #[Group('az_cas')] +#[RunTestsInSeparateProcesses] class AzCasDisableLoginFormTest extends QuickstartFunctionalTestBase { /** diff --git a/modules/custom/az_cas/tests/src/Functional/AzCasDisablePasswordResetTest.php b/modules/custom/az_cas/tests/src/Functional/AzCasDisablePasswordResetTest.php index fa8805aed4..7183c424cb 100644 --- a/modules/custom/az_cas/tests/src/Functional/AzCasDisablePasswordResetTest.php +++ b/modules/custom/az_cas/tests/src/Functional/AzCasDisablePasswordResetTest.php @@ -5,11 +5,13 @@ use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests that access to the password reset form can be disabled. */ #[Group('az_cas')] +#[RunTestsInSeparateProcesses] class AzCasDisablePasswordResetTest extends QuickstartFunctionalTestBase { /** diff --git a/modules/custom/az_cas/tests/src/Functional/AzCasTest.php b/modules/custom/az_cas/tests/src/Functional/AzCasTest.php index 4b7b86ef57..c6c25dbf68 100644 --- a/modules/custom/az_cas/tests/src/Functional/AzCasTest.php +++ b/modules/custom/az_cas/tests/src/Functional/AzCasTest.php @@ -5,11 +5,13 @@ use Drupal\Core\Url; use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests for the AZ CAS module. */ #[Group('az_cas')] +#[RunTestsInSeparateProcesses] class AzCasTest extends QuickstartFunctionalTestBase { /** diff --git a/modules/custom/az_core/az_enterprise_attributes_import/tests/src/Functional/EnterpriseAttributesImportTest.php b/modules/custom/az_core/az_enterprise_attributes_import/tests/src/Functional/EnterpriseAttributesImportTest.php index 0f7654fc73..af75139148 100644 --- a/modules/custom/az_core/az_enterprise_attributes_import/tests/src/Functional/EnterpriseAttributesImportTest.php +++ b/modules/custom/az_core/az_enterprise_attributes_import/tests/src/Functional/EnterpriseAttributesImportTest.php @@ -6,11 +6,13 @@ use Drupal\migrate\MigrateMessage; use Drupal\migrate_tools\MigrateExecutable; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Test of attribute import functionality. */ #[Group('az_enterprise_attributes_import')] +#[RunTestsInSeparateProcesses] class EnterpriseAttributesImportTest extends BrowserTestBase { /** diff --git a/modules/custom/az_core/tests/src/Functional/CacheInvalidationTest.php b/modules/custom/az_core/tests/src/Functional/CacheInvalidationTest.php index 3040bc1194..0d91a06cf4 100644 --- a/modules/custom/az_core/tests/src/Functional/CacheInvalidationTest.php +++ b/modules/custom/az_core/tests/src/Functional/CacheInvalidationTest.php @@ -4,11 +4,13 @@ use Drupal\Tests\BrowserTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests cache invalidation when nodes are updated. */ #[Group('az_core')] +#[RunTestsInSeparateProcesses] class CacheInvalidationTest extends BrowserTestBase { /** diff --git a/modules/custom/az_core/tests/src/Functional/ClearCacheTest.php b/modules/custom/az_core/tests/src/Functional/ClearCacheTest.php index 8816e0e3c9..e516aecb03 100644 --- a/modules/custom/az_core/tests/src/Functional/ClearCacheTest.php +++ b/modules/custom/az_core/tests/src/Functional/ClearCacheTest.php @@ -4,11 +4,13 @@ use Drupal\Core\Url; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Test to ensure the Quickstart settings clear cache button works correctly. */ #[Group('az_core')] +#[RunTestsInSeparateProcesses] class ClearCacheTest extends QuickstartFunctionalTestBase { /** diff --git a/modules/custom/az_core/tests/src/Functional/ConfigOverrideTest.php b/modules/custom/az_core/tests/src/Functional/ConfigOverrideTest.php index 049478c949..0eea4ab359 100644 --- a/modules/custom/az_core/tests/src/Functional/ConfigOverrideTest.php +++ b/modules/custom/az_core/tests/src/Functional/ConfigOverrideTest.php @@ -4,11 +4,13 @@ use Drupal\Tests\BrowserTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Test to ensure Quickstart configuration overrides work correctly. */ #[Group('az_core')] +#[RunTestsInSeparateProcesses] class ConfigOverrideTest extends BrowserTestBase { /** diff --git a/modules/custom/az_core/tests/src/Functional/MonitoringPageTest.php b/modules/custom/az_core/tests/src/Functional/MonitoringPageTest.php index 3fd69f9537..a91afad984 100644 --- a/modules/custom/az_core/tests/src/Functional/MonitoringPageTest.php +++ b/modules/custom/az_core/tests/src/Functional/MonitoringPageTest.php @@ -4,11 +4,13 @@ use Drupal\Core\Url; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Test to ensure that monitoring page works correctly. */ #[Group('az_core')] +#[RunTestsInSeparateProcesses] class MonitoringPageTest extends QuickstartFunctionalTestBase { /** diff --git a/modules/custom/az_demo/tests/src/Functional/AZDemoContentTest.php b/modules/custom/az_demo/tests/src/Functional/AZDemoContentTest.php index e21da99239..24846c271e 100644 --- a/modules/custom/az_demo/tests/src/Functional/AZDemoContentTest.php +++ b/modules/custom/az_demo/tests/src/Functional/AZDemoContentTest.php @@ -6,11 +6,13 @@ use Drupal\Core\Config\FileStorage; use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Verify successful importing of demo content. */ #[Group('az_demo')] +#[RunTestsInSeparateProcesses] class AZDemoContentTest extends QuickstartFunctionalTestBase { /** diff --git a/modules/custom/az_global_footer/tests/src/Functional/AzGlobalFooterTest.php b/modules/custom/az_global_footer/tests/src/Functional/AzGlobalFooterTest.php index 2ec4ecd8f8..8b1257edf7 100644 --- a/modules/custom/az_global_footer/tests/src/Functional/AzGlobalFooterTest.php +++ b/modules/custom/az_global_footer/tests/src/Functional/AzGlobalFooterTest.php @@ -5,11 +5,13 @@ use Drupal\Tests\BrowserTestBase; use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests the Quickstart Global Footer. */ #[Group('az_global_footer')] +#[RunTestsInSeparateProcesses] class AzGlobalFooterTest extends BrowserTestBase { /** @@ -34,6 +36,7 @@ class AzGlobalFooterTest extends BrowserTestBase { /** * Tests that the Quickstart Global Footer module can be uninstalled. */ + #[Group('regression')] #[DoesNotPerformAssertions] public function testIsUninstallableAndReinstallable() { diff --git a/modules/custom/az_migration/tests/src/Functional/MigrateExceptionsTest.php b/modules/custom/az_migration/tests/src/Functional/MigrateExceptionsTest.php index bc9cbcf504..b5ccbcddbb 100644 --- a/modules/custom/az_migration/tests/src/Functional/MigrateExceptionsTest.php +++ b/modules/custom/az_migration/tests/src/Functional/MigrateExceptionsTest.php @@ -4,11 +4,13 @@ use Drupal\Tests\BrowserTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests the Quickstart Global Footer. */ #[Group('az_global_footer')] +#[RunTestsInSeparateProcesses] class MigrateExceptionsTest extends BrowserTestBase { /** diff --git a/modules/custom/az_paragraphs/tests/src/Functional/AZParagraphsTest.php b/modules/custom/az_paragraphs/tests/src/Functional/AZParagraphsTest.php index 787c6bb26c..cb2e79b2cb 100644 --- a/modules/custom/az_paragraphs/tests/src/Functional/AZParagraphsTest.php +++ b/modules/custom/az_paragraphs/tests/src/Functional/AZParagraphsTest.php @@ -4,11 +4,13 @@ use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Run tests of paragraph bundles. */ #[Group('az_paragraphs')] +#[RunTestsInSeparateProcesses] class AZParagraphsTest extends QuickstartFunctionalTestBase { /** diff --git a/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php b/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php index e3fde2f8a0..2cc500b35f 100644 --- a/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php +++ b/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php @@ -4,6 +4,7 @@ use Drupal\Tests\az_core\FunctionalJavascript\QuickstartFunctionalJavascriptTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; use PHPUnit\Framework\Attributes\IgnoreDeprecations; use PHPUnit\Framework\Attributes\IgnorePhpunitDeprecations; @@ -11,6 +12,7 @@ * Run tests of paragraph bundles. */ #[Group('az_paragraphs_js')] +#[RunTestsInSeparateProcesses] #[IgnoreDeprecations] #[IgnorePhpunitDeprecations] class AZParagraphsJavascriptTest extends QuickstartFunctionalJavascriptTestBase { diff --git a/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php b/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php index 8670633432..0a4961e97f 100644 --- a/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php +++ b/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php @@ -4,6 +4,7 @@ use Drupal\Tests\az_core\FunctionalJavascript\QuickstartFunctionalJavascriptTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; use PHPUnit\Framework\Attributes\IgnoreDeprecations; use PHPUnit\Framework\Attributes\IgnorePhpunitDeprecations; @@ -13,6 +14,7 @@ #[Group('az_publication')] #[IgnoreDeprecations] #[IgnorePhpunitDeprecations] +#[RunTestsInSeparateProcesses] class AZPublicationInlineContributorTest extends QuickstartFunctionalJavascriptTestBase { /** diff --git a/modules/custom/az_select_menu/tests/src/Functional/AzSelectMenuTest.php b/modules/custom/az_select_menu/tests/src/Functional/AzSelectMenuTest.php index 6c5d51ea04..bbca30096a 100644 --- a/modules/custom/az_select_menu/tests/src/Functional/AzSelectMenuTest.php +++ b/modules/custom/az_select_menu/tests/src/Functional/AzSelectMenuTest.php @@ -5,11 +5,13 @@ use Drupal\Tests\BrowserTestBase; use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests the Quickstart select menu block. */ #[Group('az_select_menu')] +#[RunTestsInSeparateProcesses] class AzSelectMenuTest extends BrowserTestBase { /** diff --git a/themes/custom/az_barrio/tests/src/Functional/AzBarrioAdminTest.php b/themes/custom/az_barrio/tests/src/Functional/AzBarrioAdminTest.php index 89affb47eb..f3484bffe0 100644 --- a/themes/custom/az_barrio/tests/src/Functional/AzBarrioAdminTest.php +++ b/themes/custom/az_barrio/tests/src/Functional/AzBarrioAdminTest.php @@ -4,11 +4,13 @@ use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests the Arizona Barrio theme as an admin user. */ #[Group('az_barrio')] +#[RunTestsInSeparateProcesses] class AzBarrioAdminTest extends QuickstartFunctionalTestBase { /** diff --git a/themes/custom/az_barrio/tests/src/Functional/AzBarrioTest.php b/themes/custom/az_barrio/tests/src/Functional/AzBarrioTest.php index 74ccd58a78..8dc04c49c7 100644 --- a/themes/custom/az_barrio/tests/src/Functional/AzBarrioTest.php +++ b/themes/custom/az_barrio/tests/src/Functional/AzBarrioTest.php @@ -4,11 +4,13 @@ use Drupal\Tests\az_core\Functional\QuickstartFunctionalTestBase; use PHPUnit\Framework\Attributes\Group; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Tests the Arizona Barrio theme. */ #[Group('az_barrio')] +#[RunTestsInSeparateProcesses] class AzBarrioTest extends QuickstartFunctionalTestBase { /** From ed18d4d95bb00e03c52208b26138b1535d974133 Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Fri, 13 Feb 2026 22:51:19 -0700 Subject: [PATCH 10/13] Clean up annotations order --- .../src/FunctionalJavascript/AZParagraphsJavascriptTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php b/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php index 2cc500b35f..e4d97c3da0 100644 --- a/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php +++ b/modules/custom/az_paragraphs/tests/src/FunctionalJavascript/AZParagraphsJavascriptTest.php @@ -4,17 +4,17 @@ use Drupal\Tests\az_core\FunctionalJavascript\QuickstartFunctionalJavascriptTestBase; use PHPUnit\Framework\Attributes\Group; -use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; use PHPUnit\Framework\Attributes\IgnoreDeprecations; use PHPUnit\Framework\Attributes\IgnorePhpunitDeprecations; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Run tests of paragraph bundles. */ #[Group('az_paragraphs_js')] -#[RunTestsInSeparateProcesses] #[IgnoreDeprecations] #[IgnorePhpunitDeprecations] +#[RunTestsInSeparateProcesses] class AZParagraphsJavascriptTest extends QuickstartFunctionalJavascriptTestBase { /** From 9577d59bea77989b0dc462aed4acd27344d052d2 Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Fri, 13 Feb 2026 22:53:14 -0700 Subject: [PATCH 11/13] Reorder use statements in AZPublicationInlineContributorTest --- .../FunctionalJavascript/AZPublicationInlineContributorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php b/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php index 0a4961e97f..4d8f1632c8 100644 --- a/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php +++ b/modules/custom/az_publication/tests/src/FunctionalJavascript/AZPublicationInlineContributorTest.php @@ -4,9 +4,9 @@ use Drupal\Tests\az_core\FunctionalJavascript\QuickstartFunctionalJavascriptTestBase; use PHPUnit\Framework\Attributes\Group; -use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; use PHPUnit\Framework\Attributes\IgnoreDeprecations; use PHPUnit\Framework\Attributes\IgnorePhpunitDeprecations; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; /** * Run tests of publication contributor role functionality. From e9d0cead59781c733c68baf6bb6acadd8142091a Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Thu, 19 Feb 2026 20:34:40 -0700 Subject: [PATCH 12/13] Enable debug output for PHPunit in CI workflow. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7af8a723e4..3ef60417dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -255,6 +255,7 @@ jobs: --log-junit $GITHUB_WORKSPACE/az-quickstart-scaffolding/reports/junit.xml \ --colors="always" \ --do-not-cache-result \ + --debug \ $GITHUB_WORKSPACE/az-quickstart-scaffolding/web/profiles/custom/az_quickstart/"${{ matrix.test.file }}" env: SYMFONY_DEPRECATIONS_HELPER: weak From 7f86df6c5587b8449a9f532baa57113481594925 Mon Sep 17 00:00:00 2001 From: Joe Parsons <471936+joeparsons@users.noreply.github.com> Date: Thu, 19 Feb 2026 22:57:49 -0700 Subject: [PATCH 13/13] Revert "Enable debug output for PHPunit in CI workflow." This reverts commit e9d0cead59781c733c68baf6bb6acadd8142091a. --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ef60417dd..7af8a723e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -255,7 +255,6 @@ jobs: --log-junit $GITHUB_WORKSPACE/az-quickstart-scaffolding/reports/junit.xml \ --colors="always" \ --do-not-cache-result \ - --debug \ $GITHUB_WORKSPACE/az-quickstart-scaffolding/web/profiles/custom/az_quickstart/"${{ matrix.test.file }}" env: SYMFONY_DEPRECATIONS_HELPER: weak