Code Duplication    Length = 10-11 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 335-345 (lines=11) @@
332
        return $this;
333
    }
334
335
    public function アップデート()
336
    {
337
        $this->I->reloadPage();
338
        $this->ManagePage->ストアプラグイン_アップデート('Horizon')->アップデート();
339
340
        $this->em->refresh($this->Plugin);
341
        $this->I->assertFalse($this->Plugin->isInitialized());
342
        $this->I->assertFalse($this->Plugin->isEnabled());
343
344
        return $this;
345
    }
346
347
    private function publishPlugin($fileName)
348
    {
@@ 436-445 (lines=10) @@
433
        return $this;
434
    }
435
436
    public function アップデート()
437
    {
438
        $this->ManagePage->独自プラグイン_アップデート('Horizon', 'plugins/Horizon-1.0.1.tgz');
439
440
        $this->em->refresh($this->Plugin);
441
        $this->I->assertTrue($this->Plugin->isInitialized());
442
        $this->I->assertFalse($this->Plugin->isEnabled());
443
444
        return $this;
445
    }
446
}