Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function testResponseProvidesCorrectHeaders($responses) |
||
37 | { |
||
38 | $response = new JsonRpcHttpResponse($responses); |
||
39 | self::assertTrue($response->isSuccessful()); |
||
40 | self::assertTrue($response->headers->has('Content-Type')); |
||
41 | self::assertEquals('application/json', $response->headers->get('Content-Type')); |
||
42 | } |
||
43 | } |
||
44 |