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.
The core database drivers must naturally return results in the expected order, but this is not a guarantee. SQL Server does not always return the views ordered by nid. Adding a sort to the test view allows the test to pass on more databases.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3159382-2.patch | 812 bytes | Beakerboy |
Comments
Comment #2
BeakerboyPatch added for review.
Comment #3
BeakerboyComment #5
BeakerboyUnrelated error. Changing back to “needs review”.
Comment #6
daffie CreditAttribution: daffie commentedLooks good to me.
It is the same solution as for #3146016: Sort order not specified in view test_node_revision_uid, but results asserted to be in a specific order.
For me it is RTBC.
Comment #7
alexpottCommitted and pushed 39aa6bf474 to 9.1.x and 377146dff3 to 9.0.x and 2f20396a08 to 8.9.x. Thanks!
Backported to 8.9.x to keep test stuff aligned.