Code Duplication    Length = 8-10 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 38-47 (lines=10) @@
35
    /** @var EccubeConfig */
36
    private $config;
37
38
    public function _before(\AcceptanceTester $I)
39
    {
40
        $I->loginAsAdmin();
41
42
        $this->em = Fixtures::get('entityManager');
43
        $this->conn = $this->em->getConnection();
44
        $this->pluginRepository = $this->em->getRepository(Plugin::class);
45
        $this->config = Fixtures::get('config');
46
        FileSystem::doEmptyDir('repos');
47
    }
48
49
    public function test_install_enable_disable_remove_store(\AcceptanceTester $I)
50
    {
@@ 429-436 (lines=8) @@
426
427
    protected $traits = [];
428
429
    public function __construct(\AcceptanceTester $I)
430
    {
431
        $this->I = $I;
432
        $this->em = Fixtures::get('entityManager');
433
        $this->conn = $this->em->getConnection();
434
        $this->pluginRepository = $this->em->getRepository(Plugin::class);
435
        $this->config = Fixtures::get('config');
436
    }
437
438
    public function tableExists()
439
    {