Code Duplication    Length = 15-17 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 682-696 (lines=15) @@
679
        return $this;
680
    }
681
682
    public function 削除()
683
    {
684
        $this->ManagePage->ストアプラグイン_削除($this->code);
685
686
        $this->initialized = false;
687
        $this->enabled = false;
688
689
        $this->検証();
690
691
        $this->em->refresh($this->Plugin);
692
        $this->Plugin = $this->pluginRepository->findByCode($this->code);
693
        $this->I->assertNull($this->Plugin, '削除されている');
694
695
        return $this;
696
    }
697
698
    public function アップデート()
699
    {
@@ 789-805 (lines=17) @@
786
        return $this;
787
    }
788
789
    public function 削除()
790
    {
791
        $this->ManagePage->独自プラグイン_削除($this->code);
792
793
        $this->initialized = false;
794
        $this->enabled = false;
795
796
        $this->I->see('プラグインを削除しました。', PluginManagePage::完了メーッセージ);
797
798
        $this->検証();
799
800
        $this->em->refresh($this->Plugin);
801
        $this->Plugin = $this->pluginRepository->findByCode($this->code);
802
        $this->I->assertNull($this->Plugin, '削除されている');
803
804
        return $this;
805
    }
806
807
    public function アップデート()
808
    {