| @@ 10-19 (lines=10) @@ | ||
| 7 | */ |
|
| 8 | class ReportsTest extends AbstractAPITest |
|
| 9 | { |
|
| 10 | public function testSearchPaymentsRegistry() |
|
| 11 | { |
|
| 12 | $response = static::$xsollaClient->SearchPaymentsRegistry(array( |
|
| 13 | 'format' => 'json', |
|
| 14 | 'type' => 'all', |
|
| 15 | 'limit' => 2, |
|
| 16 | 'offset' => 0, |
|
| 17 | )); |
|
| 18 | static::assertInternalType('array', $response); |
|
| 19 | } |
|
| 20 | ||
| 21 | public function testSearchPaymentsRegistryWithParams() |
|
| 22 | { |
|
| @@ 21-31 (lines=11) @@ | ||
| 18 | static::assertInternalType('array', $response); |
|
| 19 | } |
|
| 20 | ||
| 21 | public function testSearchPaymentsRegistryWithParams() |
|
| 22 | { |
|
| 23 | $response = static::$xsollaClient->SearchPaymentsRegistry(array( |
|
| 24 | 'format' => 'json', |
|
| 25 | 'type' => 'all', |
|
| 26 | 'limit' => 2, |
|
| 27 | 'offset' => 0, |
|
| 28 | 'status' => 'created' |
|
| 29 | )); |
|
| 30 | static::assertInternalType('array', $response); |
|
| 31 | } |
|
| 32 | ||
| 33 | public function testListPaymentsRegistry() |
|
| 34 | { |
|