Code Duplication    Length = 13-15 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 460-472 (lines=13) @@
457
        return $this;
458
    }
459
460
    public function 削除()
461
    {
462
        $this->ManagePage->ストアプラグイン_削除($this->code);
463
464
        $this->tableNotExists();
465
        $this->columnNotExists();
466
467
        $this->em->refresh($this->Plugin);
468
        $this->Plugin = $this->pluginRepository->findByCode($this->code);
469
        $this->I->assertNull($this->Plugin, '削除されている');
470
471
        return $this;
472
    }
473
474
    public function アップデート()
475
    {
@@ 566-580 (lines=15) @@
563
        return $this;
564
    }
565
566
    public function 削除()
567
    {
568
        $this->ManagePage->独自プラグイン_削除($this->code);
569
570
        $this->I->see('プラグインを削除しました。', PluginManagePage::完了メーッセージ);
571
572
        $this->tableNotExists();
573
        $this->columnNotExists();
574
575
        $this->em->refresh($this->Plugin);
576
        $this->Plugin = $this->pluginRepository->findByCode($this->code);
577
        $this->I->assertNull($this->Plugin, '削除されている');
578
579
        return $this;
580
    }
581
582
    public function アップデート()
583
    {