Code Duplication    Length = 9-9 lines in 2 locations

tests/acceptance/manager/PriceCest.php 2 locations

@@ 85-93 (lines=9) @@
82
        return $page->createPlan();
83
    }
84
85
    public function ensureICanUpdatePrices(Manager $I, Scenario $scenario): void
86
    {
87
        if ($this->id === null) {
88
            $scenario->incomplete('ID of the target plan must be set');
89
        }
90
91
        $page = new PriceUpdatePage($I, $this->id);
92
        $page->updatePrices();
93
    }
94
95
    public function ensureICanDeletePrices(Manager $I, Scenario $scenario): void
96
    {
@@ 95-103 (lines=9) @@
92
        $page->updatePrices();
93
    }
94
95
    public function ensureICanDeletePrices(Manager $I, Scenario $scenario): void
96
    {
97
        if ($this->id === null) {
98
            $scenario->incomplete('ID of the target plan must be set');
99
        }
100
101
        $page = new PriceDeletePage($I, $this->id);
102
        $page->deleteTemplatePrices();
103
    }
104
}
105