Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function testCallInvokeSuccessfully() |
||
20 | { |
||
21 | $onlyPost = new CurlOnlyPostHttpClient(); |
||
22 | |||
23 | $response = $onlyPost(\Ipag\Classes\Endpoint::SANDBOX, [ |
||
24 | 'Content-Type' => 'application/xml', |
||
25 | 'Accept' => 'application/xml', |
||
26 | ], [ |
||
27 | 'id' => 1, |
||
28 | 'name' => 'teste', |
||
29 | ]); |
||
30 | |||
31 | $this->assertNotEmpty($response); |
||
32 | } |
||
34 |