Code Duplication    Length = 8-10 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 39-48 (lines=10) @@
36
    /** @var EccubeConfig */
37
    private $config;
38
39
    public function _before(\AcceptanceTester $I)
40
    {
41
        $I->loginAsAdmin();
42
43
        $this->em = Fixtures::get('entityManager');
44
        $this->conn = $this->em->getConnection();
45
        $this->pluginRepository = $this->em->getRepository(Plugin::class);
46
        $this->config = Fixtures::get('config');
47
        FileSystem::doEmptyDir('repos');
48
    }
49
50
    public function test_install_enable_disable_remove_store(\AcceptanceTester $I)
51
    {
@@ 474-481 (lines=8) @@
471
472
    protected $traits = [];
473
474
    public function __construct(\AcceptanceTester $I)
475
    {
476
        $this->I = $I;
477
        $this->em = Fixtures::get('entityManager');
478
        $this->conn = $this->em->getConnection();
479
        $this->pluginRepository = $this->em->getRepository(Plugin::class);
480
        $this->config = Fixtures::get('config');
481
    }
482
483
    public function tableExists()
484
    {