- Issue created by @ryanrobinson_wlu
- Status changed to Closed: duplicate
7 months ago 8:22pm 1 June 2024
When I run kernel tests, I get these errors/risky tests/deprecations:
There was 1 error:
1) Drupal\Tests\mailsystem\Kernel\d7\MailSystemMigrateTest::testMailSystemMigration
PHPUnit\Framework\Exception: Unavailable module: 'color'. If this module needs to be downloaded separately, annotate the test class with '@requires module color'.
/opt/drupal/web/core/tests/Drupal/KernelTests/KernelTestBase.php:541
/opt/drupal/web/core/tests/Drupal/KernelTests/KernelTestBase.php:384
/opt/drupal/web/core/tests/Drupal/KernelTests/KernelTestBase.php:258
/opt/drupal/web/core/modules/migrate/tests/src/Kernel/MigrateTestBase.php:67
/opt/drupal/web/core/modules/migrate_drupal/tests/src/Kernel/MigrateDrupalTestBase.php:31
/opt/drupal/web/core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php:20
/opt/drupal/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
--
There was 1 risky test:
1) Drupal\Tests\mailsystem\Kernel\d7\MailSystemMigrateTest::testMailSystemMigration
This test did not perform any assertions
/opt/drupal/web/core/tests/Drupal/Tests/Listeners/DrupalListener.php:62
/opt/drupal/vendor/phpunit/phpunit/src/Framework/TestResult.php:453
/opt/drupal/vendor/phpunit/phpunit/src/Framework/TestSuite.php:685
/opt/drupal/vendor/phpunit/phpunit/src/Framework/TestSuite.php:685
/opt/drupal/vendor/phpunit/phpunit/src/Framework/TestSuite.php:685
/opt/drupal/vendor/phpunit/phpunit/src/Framework/TestSuite.php:685
/opt/drupal/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/opt/drupal/vendor/phpunit/phpunit/src/TextUI/Command.php:146
/opt/drupal/vendor/phpunit/phpunit/src/TextUI/Command.php:99
ERRORS!
Tests: 1, Assertions: 0, Errors: 1, Risky: 1.
Remaining self deprecation notices (1)
1x: The Drupal\Tests\field\Traits\EntityReferenceTestTrait is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Instead, use \Drupal\Tests\field\Traits\EntityReferenceFieldCreationTrait. See
https://www.drupal.org/node/3401941 →
1x in KernelTestSuite::suite from Drupal\Tests\TestSuites
Run phpunit --testsuite="kernel" --group="mailsystem"
Closed: duplicate
4.4
Code