| @@ 10-17 (lines=8) @@ | ||
| 7 | */ |
|
| 8 | class EventsTest extends AbstractAPITest |
|
| 9 | { |
|
| 10 | public function testListEvents() |
|
| 11 | { |
|
| 12 | $events = static::$xsollaClient->ListEvents([ |
|
| 13 | 'limit' => 1, |
|
| 14 | 'offset' => 0, |
|
| 15 | ]); |
|
| 16 | static::assertInternalType('array', $events); |
|
| 17 | } |
|
| 18 | } |
|
| 19 | ||
| @@ 203-210 (lines=8) @@ | ||
| 200 | /** |
|
| 201 | * @depends testCreateCouponPromotion |
|
| 202 | */ |
|
| 203 | public function testGetCouponPromotions() |
|
| 204 | { |
|
| 205 | $response = static::$xsollaClient->ListCouponPromotions([ |
|
| 206 | 'limit' => 20, |
|
| 207 | 'offset' => 0, |
|
| 208 | ]); |
|
| 209 | static::assertInternalType('array', $response); |
|
| 210 | } |
|
| 211 | ||
| 212 | /** |
|
| 213 | * @depends testCreateCouponPromotion |
|