Code Duplication    Length = 7-7 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 492-498 (lines=7) @@
489
        $this->config = Fixtures::get('config');
490
    }
491
492
    public function tableExists()
493
    {
494
        foreach ($this->tables as $table) {
495
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '".$table."';")->fetch()['count'] > 0;
496
            $this->I->assertTrue($exists, 'テーブルがあるはず '.$table);
497
        }
498
    }
499
500
    public function tableNotExists()
501
    {
@@ 500-506 (lines=7) @@
497
        }
498
    }
499
500
    public function tableNotExists()
501
    {
502
        foreach ($this->tables as $table) {
503
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '".$table."';")->fetch()['count'] > 0;
504
            $this->I->assertFalse($exists, 'テーブルがないはず '.$table);
505
        }
506
    }
507
508
    public function columnExists()
509
    {