Code Duplication    Length = 15-17 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 648-662 (lines=15) @@
645
        return $this;
646
    }
647
648
    public function 削除()
649
    {
650
        $this->ManagePage->ストアプラグイン_削除($this->code);
651
652
        $this->initialized = false;
653
        $this->enabled = false;
654
655
        $this->検証();
656
657
        $this->em->refresh($this->Plugin);
658
        $this->Plugin = $this->pluginRepository->findByCode($this->code);
659
        $this->I->assertNull($this->Plugin, '削除されている');
660
661
        return $this;
662
    }
663
664
    public function アップデート()
665
    {
@@ 753-769 (lines=17) @@
750
        return $this;
751
    }
752
753
    public function 削除()
754
    {
755
        $this->ManagePage->独自プラグイン_削除($this->code);
756
757
        $this->initialized = false;
758
        $this->enabled = false;
759
760
        $this->I->see('プラグインを削除しました。', PluginManagePage::完了メーッセージ);
761
762
        $this->検証();
763
764
        $this->em->refresh($this->Plugin);
765
        $this->Plugin = $this->pluginRepository->findByCode($this->code);
766
        $this->I->assertNull($this->Plugin, '削除されている');
767
768
        return $this;
769
    }
770
771
    public function アップデート()
772
    {