Code Duplication    Length = 13-14 lines in 2 locations

tests/Integration/API/ReportsTest.php 2 locations

@@ 33-45 (lines=13) @@
30
        static::assertInternalType('array', $response);
31
    }
32
33
    public function testListPaymentsRegistry()
34
    {
35
        $response = static::$xsollaClient->ListPaymentsRegistry(array(
36
            'format' => 'json',
37
            'datetime_from' => '2015-01-01T00:00:00Z',
38
            'datetime_to' => '2015-01-02T00:00:00Z',
39
            'in_transfer_currency' => false,
40
            'limit' => 2,
41
            'offset' => 0,
42
            'show_total' => true,
43
        ));
44
        static::assertInternalType('array', $response);
45
    }
46
47
    public function testListPaymentsRegistryWithParams()
48
    {
@@ 47-60 (lines=14) @@
44
        static::assertInternalType('array', $response);
45
    }
46
47
    public function testListPaymentsRegistryWithParams()
48
    {
49
        $response = static::$xsollaClient->ListPaymentsRegistry(array(
50
            'format' => 'json',
51
            'datetime_from' => '2015-01-01T00:00:00Z',
52
            'datetime_to' => '2015-01-02T00:00:00Z',
53
            'in_transfer_currency' => false,
54
            'limit' => 2,
55
            'offset' => 0,
56
            'show_total' => true,
57
            'status' => 'done'
58
        ));
59
        static::assertInternalType('array', $response);
60
    }
61
62
    public function testListTransfersRegistry()
63
    {