Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
ConfigurableLanguageTest is in the wrong directory and the wrong namespace
The problem
- The ConfigurableLanguageTest is currently located in the directory "core/modules/language/tests/src/". Test classes that extends KernelTestCase class should be located in the directory "core/modules/language/src/Tests/".
- The ConfigurableLanguageTest is currently located in the namespace "Drupal\Tests\language". Test classes that extends KernelTestCase class should be located in the namespace "Drupal\language\Tests".
Comment | File | Size | Author |
---|---|---|---|
#2 | 2427889-2.patch | 794 bytes | daffie |
Comments
Comment #1
daffie CreditAttribution: daffie commentedThe bug originated from #2407125: LanguageInterface should not support setName.
Comment #2
daffie CreditAttribution: daffie commentedComment #3
Mile23ConfigurableLanguageTest
isn't found by SimpleTest. Apply this patch and it shows up. Run it and it passes.Setting to RTBC, and then I'll run the testbot again.
Comment #6
xjmGood catch, thanks! Committed and pushed to 8.0.x.