Code Duplication    Length = 8-8 lines in 2 locations

tests/Integration/API/EventsTest.php 1 location

@@ 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

tests/Integration/API/PromotionsTest.php 1 location

@@ 202-209 (lines=8) @@
199
        static::assertSame(204, $response->getStatusCode());
200
    }
201
202
    public function testGetCouponPromotions()
203
    {
204
        $response = static::$xsollaClient->ListCouponPromotions([
205
           'limit' => 20,
206
           'offset' => 0,
207
        ]);
208
        static::assertInternalType('array', $response);
209
    }
210
211
    public function testCreateCouponPromotion()
212
    {