Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
1dd18b80
Commit
1dd18b80
authored
Feb 25, 2016
by
Carsten Rose
Browse files
SupportTest: fixed wrong Testcondition.
parent
9029bcbb
Changes
1
Show whitespace changes
Inline
Side-by-side
extension/qfq/tests/phpunit/SupportTest.php
View file @
1dd18b80
...
...
@@ -95,13 +95,13 @@ class SupportTest extends \PHPUnit_Framework_TestCase {
$this
->
assertEquals
(
''
,
$result
);
$result
=
Support
::
wrapTag
(
"<p>"
,
''
,
false
);
$this
->
assertEquals
(
''
,
$result
);
$this
->
assertEquals
(
'
<p></p>
'
,
$result
);
$result
=
Support
::
wrapTag
(
"<p>"
,
'Hello World'
,
true
);
$this
->
assertEquals
(
''
,
$result
);
$this
->
assertEquals
(
'
<p>Hello World</p>
'
,
$result
);
$result
=
Support
::
wrapTag
(
"<p>"
,
'Hello World'
,
false
);
$this
->
assertEquals
(
''
,
$result
);
$this
->
assertEquals
(
'
<p>Hello World</p>
'
,
$result
);
}
...
...
Write
Preview
Markdown
is supported
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