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
5ffcd33f
Commit
5ffcd33f
authored
Feb 10, 2018
by
Carsten Rose
Browse files
Fix Unit Tests for 3470, 5382
parent
e256aa40
Changes
2
Hide whitespace changes
Inline
Side-by-side
extension/qfq/tests/phpunit/LinkTest.php
View file @
5ffcd33f
...
...
@@ -898,7 +898,7 @@ class LinkTest extends \PHPUnit_Framework_TestCase {
// some text, with double ticks inside
$result
=
$link
->
renderLink
(
'u:http://example.com|o:hello world "some more text" end'
);
$this
->
assertEquals
(
'<a href="http://example.com" title="hello world
\\"
some more text
\\"
end" >http://example.com</a>'
,
$result
);
$this
->
assertEquals
(
'<a href="http://example.com" title="hello world
"
some more text
"
end" >http://example.com</a>'
,
$result
);
// some text, with already escaped double ticks inside
$result
=
$link
->
renderLink
(
'u:http://example.com|o:hello world \\"some more text\\" end'
);
...
...
extension/qfq/tests/phpunit/StoreTest.php
View file @
5ffcd33f
...
...
@@ -335,6 +335,7 @@ EOT;
SYSTEM_RECORD_LOCK_TIMEOUT_SECONDS
=>
SYSTEM_RECORD_LOCK_TIMEOUT_SECONDS_DEFAULT
,
DOCUMENTATION_QFQ
=>
DOCUMENTATION_QFQ_URL
,
SYSTEM_ENTER_AS_SUBMIT
=>
1
,
];
$fileName
=
$this
->
createFile
(
$body
);
...
...
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