Code Duplication    Length = 7-7 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 451-457 (lines=7) @@
448
        $this->config = Fixtures::get('config');
449
    }
450
451
    public function tableExists()
452
    {
453
        foreach ($this->tables as $table) {
454
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '".$table."';")->fetch()['count'] > 0;
455
            $this->I->assertTrue($exists, 'テーブルがあるはず '.$table);
456
        }
457
    }
458
459
    public function tableNotExists()
460
    {
@@ 459-465 (lines=7) @@
456
        }
457
    }
458
459
    public function tableNotExists()
460
    {
461
        foreach ($this->tables as $table) {
462
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '".$table."';")->fetch()['count'] > 0;
463
            $this->I->assertFalse($exists, 'テーブルがないはず '.$table);
464
        }
465
    }
466
467
    public function columnExists()
468
    {