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
Add test for the field source plugin.
Proposed resolution
Write the tests.
Remaining tasks
Patch
review
commit
Comment | File | Size | Author |
---|---|---|---|
#10 | interdiff.txt | 6.26 KB | quietone |
#10 | 2966204-10.patch | 10.41 KB | quietone |
#8 | interdiff.txt | 630 bytes | quietone |
#8 | 2966204-7.patch | 10.34 KB | quietone |
#5 | 2966204-4.patch | 10.41 KB | quietone |
Comments
Comment #2
quietone CreditAttribution: quietone at Acro Commerce commentedComment #3
quietone CreditAttribution: quietone at Acro Commerce commentedComment #5
quietone CreditAttribution: quietone at Acro Commerce commentedWasn't working from HEAD.
Comment #7
quietone CreditAttribution: quietone at Acro Commerce commentedRetest after committing #2977395: File validation errors on HEAD for 8.6
Comment #8
quietone CreditAttribution: quietone at Acro Commerce commentedRemoved setting of expected_count, that was wrong. The plugin really does return 2 rows, I just don't know why the test thinks it returns 1.
Comment #10
quietone CreditAttribution: quietone at Acro Commerce commentedFinally got around to fixing this. The initializeIterator isn't called in the test and that method will add rows which then causes the test to get an incorrect count.
Comment #11
quietone CreditAttribution: quietone at Acro Commerce commentedLet's get this test and then make a new release before the end of the day.
Comment #12
quietone CreditAttribution: quietone at Acro Commerce commentedField not order item type
It is not executed during the count operation
Fixed on commit
Comment #14
quietone CreditAttribution: quietone at Acro Commerce commented