Code Duplication    Length = 15-17 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 691-705 (lines=15) @@
688
        return $this;
689
    }
690
691
    public function 削除()
692
    {
693
        $this->ManagePage->ストアプラグイン_削除($this->code);
694
695
        $this->initialized = false;
696
        $this->enabled = false;
697
698
        $this->検証();
699
700
        $this->em->refresh($this->Plugin);
701
        $this->Plugin = $this->pluginRepository->findByCode($this->code);
702
        $this->I->assertNull($this->Plugin, '削除されている');
703
704
        return $this;
705
    }
706
707
    public function アップデート()
708
    {
@@ 798-814 (lines=17) @@
795
        return $this;
796
    }
797
798
    public function 削除()
799
    {
800
        $this->ManagePage->独自プラグイン_削除($this->code);
801
802
        $this->initialized = false;
803
        $this->enabled = false;
804
805
        $this->I->see('プラグインを削除しました。', PluginManagePage::完了メーッセージ);
806
807
        $this->検証();
808
809
        $this->em->refresh($this->Plugin);
810
        $this->Plugin = $this->pluginRepository->findByCode($this->code);
811
        $this->I->assertNull($this->Plugin, '削除されている');
812
813
        return $this;
814
    }
815
816
    public function アップデート()
817
    {