Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | public function testGetChallengeError() { |
||
11 | |||
12 | $rawResponse = Connector\RawResponse::createDummyFrom( |
||
13 | Connector\RawResponse::HEADER_200, |
||
14 | file_get_contents(dirname(__FILE__, 2) . DIRECTORY_SEPARATOR . '_JSONSamples' . DIRECTORY_SEPARATOR . 'OrderStatusInvalid.json') |
||
15 | ); |
||
16 | |||
17 | $this->expectException(OrderStatusInvalid::class); |
||
18 | $response = new \LE_ACME2\Response\Order\Get($rawResponse, 'http://dummy.org'); |
||
|
|||
19 | } |
||
20 | } |