Problem/Motivation
We should remove usages of \Drupal\taxonomy\Tests\TaxonomyTranslationTestTrait with \Drupal\Tests\taxonomy\Functional\TaxonomyTranslationTestTrait.
Proposed resolution
Replace all the usages of \Drupal\taxonomy\Tests\TaxonomyTranslationTestTrait with \Drupal\Tests\taxonomy\Functional\TaxonomyTranslationTestTrait.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 2969805_8.patch | 500 bytes | mile23 |
| #2 | 2969805-2.patch | 10.83 KB | marcel66 |
Comments
Comment #2
marcel66 commentedReplaced old test with functional one.
Comment #4
amateescu commentedLet's use a single tag for our sprint :)
Comment #5
marcel66 commentedI have reviewed https://www.drupal.org/files/issues/2018-04-17/2887134-15.patch and it also replaced the TermTranslationTest with a functional one and also some other taxonomy test.
Comment #7
marcel66 commentedComment #8
mile23Patch in #2 does not apply.
We don't see a deprecation error because the only usage is in
Drupal\taxonomy\Tests\TermTranslationTest, which is a simpletest. That's why we don't have this deprecation message inDeprecationListenerTrait.Drupal\taxonomy\Tests\TermTranslationTestwill be converted to BTB in #2887134: Convert web tests to browser tests for taxonomy module Part -2Comment #9
mile23Comment #10
mile23#2887134: Convert web tests to browser tests for taxonomy module Part -2 fixes the problem in #8 by moving
Drupal\Tests\taxonomy\Functional\TermTranslationTestso it usesDrupal\Tests\taxonomy\Functional\TaxonomyTranslationTestTrait.Also verifying that
Drupal\Tests\Listeners\DeprecationListenerTrait::getSkippedDeprecations()does not skip the deprecation error message: https://cgit.drupalcode.org/drupal/tree/core/tests/Drupal/Tests/Listener...Thanks, folks.