| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function testPagination() |
||
| 11 | { |
||
| 12 | $this->client->request('GET', '/clubs?page=1&limit=10&sort=-fullName'); |
||
| 13 | $response = $this->client->getResponse(); |
||
| 14 | $this->assertJsonResponse($response, 200); |
||
| 15 | $this->assertTrue($response->headers->has('Links'), $response->headers); |
||
| 16 | $this->assertTrue($response->headers->has('Total-count'), $response->headers); |
||
| 17 | } |
||
| 18 | |||
| 26 |