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
    {
@@ 439-446 (lines=8) @@
436
437
    protected $traits = [];
438
439
    public function __construct(\AcceptanceTester $I)
440
    {
441
        $this->I = $I;
442
        $this->em = Fixtures::get('entityManager');
443
        $this->conn = $this->em->getConnection();
444
        $this->pluginRepository = $this->em->getRepository(Plugin::class);
445
        $this->config = Fixtures::get('config');
446
    }
447
448
    public function tableExists()
449
    {