Commit 1001d7f4 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Make DB_INIT in config.qfq.ini set by default.

Fix PHPUnit tests
parent 1447b3a1
...@@ -402,7 +402,7 @@ Example: *typo3conf/config.qfq.ini* ...@@ -402,7 +402,7 @@ Example: *typo3conf/config.qfq.ini*
BASE_URL_PRINT = http://url.my/ BASE_URL_PRINT = http://url.my/
; WKHTMLTOPDF = /opt/wkhtmltox/bin/wkhtmltopdf ; WKHTMLTOPDF = /opt/wkhtmltox/bin/wkhtmltopdf
DB_INIT = set names utf8 ; DB_INIT = set names utf8
; auto | always | never ; auto | always | never
; DB_UPDATE = auto ; DB_UPDATE = auto
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
BASE_URL_PRINT = http://url.my/ BASE_URL_PRINT = http://url.my/
; WKHTMLTOPDF = /opt/wkhtmltox/bin/wkhtmltopdf ; WKHTMLTOPDF = /opt/wkhtmltox/bin/wkhtmltopdf
DB_INIT = set names utf8 ; DB_INIT = set names utf8
; auto | always | never ; auto | always | never
; DB_UPDATE = auto ; DB_UPDATE = auto
......
...@@ -159,6 +159,7 @@ class Config { ...@@ -159,6 +159,7 @@ class Config {
$default = [ $default = [
SYSTEM_DB_INIT => 'set names utf8',
SYSTEM_DB_INDEX_DATA => DB_INDEX_DEFAULT, SYSTEM_DB_INDEX_DATA => DB_INDEX_DEFAULT,
SYSTEM_DB_INDEX_QFQ => DB_INDEX_DEFAULT, SYSTEM_DB_INDEX_QFQ => DB_INDEX_DEFAULT,
......
...@@ -522,7 +522,6 @@ class BuildFormPlainTest extends AbstractDatabaseTest { ...@@ -522,7 +522,6 @@ class BuildFormPlainTest extends AbstractDatabaseTest {
parent::setUp(); parent::setUp();
// Use always the latest (production) FormEditor: played during QuickFormQuery() // Use always the latest (production) FormEditor: played during QuickFormQuery()
$this->dbArray[DB_INDEX_DEFAULT]->sql("DROP TABLE IF EXISTS `Form`"); $this->dbArray[DB_INDEX_DEFAULT]->sql("DROP TABLE IF EXISTS `Form`");
$this->dbArray[DB_INDEX_DEFAULT]->sql("DROP TABLE IF EXISTS `FormElement`"); $this->dbArray[DB_INDEX_DEFAULT]->sql("DROP TABLE IF EXISTS `FormElement`");
......
Supports Markdown
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