Code Duplication    Length = 7-7 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

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