Code Duplication    Length = 9-9 lines in 2 locations

tests/Integration/API/SubscriptionsTest.php 2 locations

@@ 113-121 (lines=9) @@
110
    /**
111
     * @depends testDeleteSubscriptionPlan
112
     */
113
    public function testCreateSubscriptionProduct()
114
    {
115
        $response = static::$xsollaClient->CreateSubscriptionProduct([
116
            'project_id' => static::$projectId,
117
            'request' => $this->product,
118
        ]);
119
        static::assertArrayHasKey('product_id', $response);
120
        static::$productId = $response['product_id'];
121
    }
122
123
    /**
124
     * @depends testCreateSubscriptionProduct
@@ 142-150 (lines=9) @@
139
    /**
140
     * @depends testCreateSubscriptionProduct
141
     */
142
    public function testUpdateSubscriptionProduct()
143
    {
144
        $response = static::$xsollaClient->UpdateSubscriptionProduct([
145
            'project_id' => static::$projectId,
146
            'product_id' => static::$productId,
147
            'request' => $this->product,
148
        ]);
149
        static::assertInternalType('array', $response);
150
    }
151
152
    /**
153
     * @depends testUpdateSubscriptionProduct