@@ 123-134 (lines=12) @@ | ||
120 | /** |
|
121 | * @depends testCreateSubscriptionProduct |
|
122 | */ |
|
123 | public function testListSubscriptionPlansWithParams() |
|
124 | { |
|
125 | $response = static::$xsollaClient->ListSubscriptionPlans(array( |
|
126 | 'project_id' => static::$projectId, |
|
127 | 'limit' => 100, |
|
128 | 'offset' => 0, |
|
129 | 'product_id' => static::$productId, |
|
130 | 'group_id' => $this->product['group_id'], |
|
131 | 'external_id' => 12345, |
|
132 | )); |
|
133 | static::assertInternalType('array', $response); |
|
134 | } |
|
135 | ||
136 | /** |
|
137 | * @depends testCreateSubscriptionProduct |
@@ 70-80 (lines=11) @@ | ||
67 | static::assertInternalType('array', $response); |
|
68 | } |
|
69 | ||
70 | public function testListWalletUserOperationsWithParams() |
|
71 | { |
|
72 | $response = static::$xsollaClient->ListWalletUserOperations(array( |
|
73 | 'project_id' => static::$projectId, |
|
74 | 'user_id' => static::$userId, |
|
75 | 'datetime_from' => '2015-01-01T00:00:00Z', |
|
76 | 'datetime_to' => '2016-01-01T00:00:00Z', |
|
77 | 'transaction_type' => 'payment', |
|
78 | )); |
|
79 | static::assertInternalType('array', $response); |
|
80 | } |
|
81 | ||
82 | public function testRechargeWalletUserBalance() |
|
83 | { |