Fix CS observations
Fix commented code
This commit is contained in:
davidcallizaya
2017-05-23 16:07:26 -04:00
parent eacb057a58
commit 08375cfce1
9 changed files with 58 additions and 71 deletions

View File

@@ -22,18 +22,6 @@ class WorkflowTestCase extends TestCase
$pdo = new PDO("mysql:host=".DB_HOST.";dbname=".DB_NAME, DB_USER,
DB_PASS);
$pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, 0);
//inmemory
/* $inmemory = false;
if ($inmemory) {
$sql = str_replace(
['ENGINE=InnoDB', 'MEDIUMTEXT'],
['ENGINE=MEMORY', 'VARCHAR(2000)'],
file_get_contents(PATH_CORE.'data/mysql/schema.sql')
);
} else {
$sql = file_get_contents(PATH_CORE.'data/mysql/schema.sql');
}
$pdo->exec($sql); */
$pdo->exec(file_get_contents(PATH_CORE.'data/mysql/schema.sql'));
$pdo->exec(file_get_contents(PATH_RBAC_CORE.'data/mysql/schema.sql'));
$pdo->exec(file_get_contents(PATH_CORE.'data/mysql/insert.sql'));