Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
b9641fa5
Commit
b9641fa5
authored
Nov 20, 2017
by
Carsten Rose
Browse files
fixed phpunit tests.
parent
908f7b06
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/tests/phpunit/StoreTest.php
View file @
b9641fa5
...
...
@@ -257,7 +257,6 @@ EOT;
SYSTEM_DATE_FORMAT
=>
'yyyy-mm-dd'
,
SYSTEM_SHOW_DEBUG_INFO
=>
SYSTEM_SHOW_DEBUG_INFO_NO
,
SYSTEM_MAIL_LOG
=>
"/var/www/html/crose/qfq/typo3conf/ext/qfq/../../mail.log"
,
F_BS_COLUMNS
=>
'12'
,
F_BS_LABEL_COLUMNS
=>
'3'
,
...
...
@@ -301,8 +300,6 @@ EOT;
SYSTEM_RECORD_LOCK_TIMEOUT_SECONDS
=>
SYSTEM_RECORD_LOCK_TIMEOUT_SECONDS_DEFAULT
,
DOCUMENTATION_QFQ
=>
DOCUMENTATION_QFQ_URL
,
'sendEmail'
=>
'/var/www/html/crose/qfq/typo3conf/ext/qfq/qfq/external/sendEmail'
,
];
$fileName
=
$this
->
createFile
(
$body
);
...
...
@@ -314,6 +311,8 @@ EOT;
unset
(
$value
[
SYSTEM_SQL_LOG
]);
unset
(
$value
[
SYSTEM_PATH_EXT
]);
unset
(
$value
[
SYSTEM_SITE_PATH
]);
unset
(
$value
[
SYSTEM_MAIL_LOG
]);
unset
(
$value
[
SYSTEM_SEND_E_MAIL
]);
// check default values
$this
->
assertEquals
(
$expect
,
$value
,
"Retrieve system store."
);
...
...
@@ -350,6 +349,8 @@ EOT;
unset
(
$value
[
SYSTEM_SQL_LOG
]);
unset
(
$value
[
SYSTEM_PATH_EXT
]);
unset
(
$value
[
SYSTEM_SITE_PATH
]);
unset
(
$value
[
SYSTEM_MAIL_LOG
]);
unset
(
$value
[
SYSTEM_SEND_E_MAIL
]);
// check default values
$this
->
assertEquals
(
$expect
,
$value
,
"Check explizit defined values."
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment