| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function assertStatus($status) |
||
| 15 | { |
||
| 16 | $actual = $this->getStatusCode(); |
||
|
|
|||
| 17 | |||
| 18 | PHPUnit::assertTrue( |
||
| 19 | $actual === $status, |
||
| 20 | "Expected status code {$status} but received {$actual}. Response content: \n". |
||
| 21 | print_r($this->responseContent(), true) |
||
| 22 | ); |
||
| 23 | |||
| 24 | return $this; |
||
| 25 | } |
||
| 40 |