Code Duplication    Length = 8-8 lines in 4 locations

tests/Integration/API/PaymentAccountsTest.php 1 location

@@ 10-17 (lines=8) @@
7
 */
8
class PaymentAccountsTest extends AbstractAPITest
9
{
10
    public function testListPaymentAccounts()
11
    {
12
        $response = static::$xsollaClient->ListPaymentAccounts(array(
13
            'project_id' => static::$projectId,
14
            'user_id' => static::$userId,
15
        ));
16
        static::assertInternalType('array', $response);
17
    }
18
19
    public function testChargePaymentAccount()
20
    {

tests/Integration/API/WalletTest.php 1 location

@@ 18-25 (lines=8) @@
15
        static::markTestIncomplete('Delete user API method not implemented yet. We should not create new users infinitely.');
16
    }
17
18
    public function testGetWalletUser()
19
    {
20
        $response = static::$xsollaClient->GetWalletUser(array(
21
            'project_id' => static::$projectId,
22
            'user_id' => static::$userId,
23
        ));
24
        static::assertInternalType('array', $response);
25
    }
26
27
    public function testUpdateWalletUser()
28
    {

tests/Integration/API/SubscriptionsTest.php 2 locations

@@ 182-189 (lines=8) @@
179
        static::markTestIncomplete('We haven\'t active subscriptions in test project.');
180
    }
181
182
    public function testListSubscriptions()
183
    {
184
        $response = static::$xsollaClient->ListSubscriptions(array(
185
            'project_id' => static::$projectId,
186
            'user_id' => static::$userId,
187
        ));
188
        static::assertInternalType('array', $response);
189
    }
190
191
    public function testListSubscriptionWithParams()
192
    {
@@ 202-209 (lines=8) @@
199
        static::assertInternalType('array', $response);
200
    }
201
202
    public function testListUserSubscriptionPayments()
203
    {
204
        $response = static::$xsollaClient->ListUserSubscriptionPayments(array(
205
            'project_id' => static::$projectId,
206
            'user_id' => static::$userId,
207
        ));
208
        static::assertInternalType('array', $response);
209
    }
210
211
    public function testListSubscriptionPayments()
212
    {