Code Duplication    Length = 15-17 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 722-736 (lines=15) @@
719
        return $this;
720
    }
721
722
    public function 削除()
723
    {
724
        $this->ManagePage->ストアプラグイン_削除($this->code);
725
726
        $this->initialized = false;
727
        $this->enabled = false;
728
729
        $this->検証();
730
731
        $this->em->refresh($this->Plugin);
732
        $this->Plugin = $this->pluginRepository->findByCode($this->code);
733
        $this->I->assertNull($this->Plugin, '削除されている');
734
735
        return $this;
736
    }
737
738
    public function アップデート()
739
    {
@@ 829-845 (lines=17) @@
826
        return $this;
827
    }
828
829
    public function 削除()
830
    {
831
        $this->ManagePage->独自プラグイン_削除($this->code);
832
833
        $this->initialized = false;
834
        $this->enabled = false;
835
836
        $this->I->see('プラグインを削除しました。', PluginManagePage::完了メーッセージ);
837
838
        $this->検証();
839
840
        $this->em->refresh($this->Plugin);
841
        $this->Plugin = $this->pluginRepository->findByCode($this->code);
842
        $this->I->assertNull($this->Plugin, '削除されている');
843
844
        return $this;
845
    }
846
847
    public function アップデート()
848
    {