RC eligible because this is a test addition only patch.
Problem/Motivation
As noted in #2547833: Pager.inc -- add tests, clean it up, convert to a service, use it!, we are missing tests for the case when there are multiple pagers on a given page.
Proposed resolution
Add some :)
Remaining tasks
Review patch
User interface changes
None
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2572533-4.patch | 8.17 KB | mondrake |
Comments
Comment #2
mondrakeHere's a proposal.
Comment #3
mondrakeLet's avoid some unnecessary drupal_gets
Comment #4
mondrakeAdded more test cases, and introduced check for the actual page numbers being shown to users.
Comment #5
mondrakeTagging rc eligible
Comment #6
dawehnerAt least views itself should certainly have such tests already
Moving to the right component.
Comment #8
daffie commentedThe tests look good to me.
The patch still applies.
The test tests what the issue summary is needed.
There are different combinations of input queries tested.
It is a pitty that this is not a PHPUnit test. We could have created a provider function.
It all looks good to me. So for me it is RTBC.
This issue is needed for #2044435: Convert pager.inc to a service.
Good work mondrake!
Comment #10
daffie commentedThe testbot failures are not related to this patch. So back to RTBC.
Comment #11
mondrake8.1.x test failure seems unrelated to me. Bumping to 8.2.x and launched tests on that branch.
Comment #12
alexpottNice ! Extra test coverage.
Committed and pushed a7955198f10b3041fc10d1284a383f2a73e7e0f7 to 8.2.x and e762c84 to 8.1.x. Thanks!