| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | protected function assertPaginationResponseStructure(TestResponse $response, $total) |
||
| 32 | { |
||
| 33 | $this->assertMatchesRegularExpression( |
||
| 34 | "/" . View::file( |
||
| 35 | config('digitonic.api-test-suite.templates.base_path') . 'pagination/pagination.blade.php', |
||
| 36 | [ |
||
| 37 | 'total' => $total |
||
| 38 | ] |
||
| 39 | )->render() . "/", |
||
| 40 | $response->getContent(), |
||
| 41 | 'Pagination response structure doesn\'t follow the template set up in ' |
||
| 42 | .config('digitonic.api-test-suite.templates.base_path').' pagination/pagination.blade.php.' |
||
| 43 | ); |
||
| 62 |