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.
Problem/Motivation
It is confusing to have a test base class which says its unit test but its actually not.
Proposed resolution
Rename ViewUnitTestBase to ViewKernelTestBase
Remaining tasks
-
User interface changes
-
API changes
-
Data model changes
-
Comment | File | Size | Author |
---|---|---|---|
#11 | interdiff.txt | 283 bytes | borisson_ |
#11 | rename_viewunittestbase-2546416-11.patch | 51 KB | borisson_ |
Comments
Comment #2
lauriiiComment #4
lauriiiRemoved the .swp
Comment #6
borisson_Attached patch should resolve at least part of the issues.
Comment #8
borisson_Renames WizardPluginBaseUnitTest and DisplayUnitTest files to KernelTest, the classes changed so the filenames should change as well.
Comment #9
borisson_Forgot to add the patch / interdiff. Attached now.
Comment #11
borisson_FieldUnitTest class was renamed to FieldKernelTest, this renames the file as well.
Comment #12
dawehnerLooks great!
Feel free to remove this not needed line
Comment #13
alexpottTest only change and therefore permitted in beta. Committed 3d73a39 and pushed to 8.0.x. Thanks!
Fixed on commit.
Comment #15
jibranShould we rename
EntityUnitTestBase
toEntityKernelTestBase
as well?