Code Duplication    Length = 9-9 lines in 2 locations

tests/Integration/API/SubscriptionsTest.php 2 locations

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