Code Duplication    Length = 8-9 lines in 2 locations

tests/Integration/API/CouponsTest.php 1 location

@@ 10-17 (lines=8) @@
7
 */
8
class CouponsTest extends AbstractAPITest
9
{
10
    public function testGetCoupon()
11
    {
12
        $actualCouponData = static::$xsollaClient->GetCoupon(array(
13
            'project_id' => static::$projectId,
14
            'code' => $_SERVER['COUPON_CODE'],
15
        ));
16
        static::assertInternalType('array', $actualCouponData);
17
    }
18
19
    public function testRedeemCoupon()
20
    {

tests/Integration/API/WalletTest.php 1 location

@@ 38-46 (lines=9) @@
35
        ));
36
    }
37
38
    public function testListWalletUsers()
39
    {
40
        $response = static::$xsollaClient->ListWalletUsers(array(
41
            'project_id' => static::$projectId,
42
            'limit' => 1,
43
            'offset' => 0,
44
        ));
45
        static::assertInternalType('array', $response);
46
    }
47
48
    public function testListWalletUserOperations()
49
    {