- π¦πΊAustralia VladimirAus Brisbane, Australia
Should be fixed in π Enable GitLab CI and cleanup build pipelines Active .
#3041030: Convert functional EfqTest to a kernel test and move TaxonomyTestTrait from tests/src/Functional to tests/src/Traits β
moved the test trait we use to create vocabularies and terms in tests/src/Functional/ArgumentValidatorTest.php
This is throwing deprecation errors when trying to port this module to work with D9.
In Slack, @larowlan and I came up with a solution that lets our tests still work on 8.7.x and not throw errors on modern branches.
But it's ugly:
https://www.drupal.org/node/3041703 β
use Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait;
if (!trait_exists('\Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait')) {
class_alias('\Drupal\Tests\taxonomy\Functional\TaxonomyTestTrait', '\Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait');
}
We should rip it out when 8.7.x is EOL.
Remove the complicated hoops we have to jump through to let our tests pass on all branches we care about.
-
-
-
-
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Should be fixed in π Enable GitLab CI and cleanup build pipelines Active .