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
#2298667: Code review for report generation Identified that Migrate module's NodeRevisionTest and NodeRevisionByNodeTypeTest are broken and don't test anything. they have been marked as incompletely and we should fix them and provide proper coverage.
Proposed resolution
Probably the proper fix FakeSelect to support the query needed by the tests.
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
phpunit-strict-followup.patch | 12.06 KB | neclimdul | |
Comments
Comment #1
neclimdulbetter reflect status.
Comment #2
Mile23Comment #3
neclimdulOnly NodeRevisionTest is actually broken/incomplete currently.
Comment #4
vijaycs85Comment #5
dawehnerI don't see why it should be critical ... its valid to write incomplete tests, its just a detail that we don't use that in other areas.
Comment #6
quietone CreditAttribution: quietone as a volunteer commentedThe patch here is substantially the same as the existing test, it looks like it simply has fields on the nodes. Probably can be closed.
Yes, I checked with neclimdul on IRC, who also agrees with closing this issues.