| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function testDefaultParameters() |
||
| 11 | { |
||
| 12 | $response = new PdfResponse('some_binary_output'); |
||
| 13 | |||
| 14 | $this->assertSame(200, $response->getStatusCode()); |
||
| 15 | $this->assertSame('some_binary_output', $response->getContent()); |
||
| 16 | $this->assertSame('application/pdf', $response->headers->get('Content-Type')); |
||
| 17 | $this->assertSame('attachment; filename=output.pdf', str_replace('"', '', $response->headers->get('Content-Disposition'))); |
||
| 18 | } |
||
| 19 | |||
| 38 |