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