Skip to content
Snippets Groups Projects
Commit 9b39242d authored by Laurent's avatar Laurent
Browse files

Fix db tests

parent d4b25149
No related merge requests found
......@@ -7,8 +7,7 @@ $adapter->query('CREATE TABLE IF NOT EXISTS `premier_chapitre` ( '
.'`auteur` text NOT NULL, '
.'`couverture` varchar(250) NOT NULL, '
.'`couverture_mini` varchar(250) NOT NULL, '
.'`clef_oeuvre` varchar(200) NOT NULL '
.'`clef_oeuvre` varchar(200) NOT NULL, '
.'PRIMARY KEY (`ean`)'
.') engine=MyISAM default charset=utf8;');
$adapter->query('ALTER TABLE `premier_chapitre` ADD PRIMARY KEY (`ean`), ADD UNIQUE KEY `ean` (`ean`);');
?>
\ No newline at end of file
......@@ -99,7 +99,7 @@ class UpgradeDB_263_Test extends UpgradeDBTestCase {
class UpgradeDB_267_Test extends UpgradeDBTestCase {
class UpgradeDB_274_Test extends UpgradeDBTestCase {
public function prepare() {
$this->query('delete from bib_admin_var where clef="CNIL_CONSENT_ENABLE"');
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment