Commit 1dd18b80 authored by Carsten  Rose's avatar Carsten Rose
Browse files

SupportTest: fixed wrong Testcondition.

parent 9029bcbb
...@@ -95,13 +95,13 @@ class SupportTest extends \PHPUnit_Framework_TestCase { ...@@ -95,13 +95,13 @@ class SupportTest extends \PHPUnit_Framework_TestCase {
$this->assertEquals('', $result); $this->assertEquals('', $result);
$result = Support::wrapTag("<p>", '', false); $result = Support::wrapTag("<p>", '', false);
$this->assertEquals('', $result); $this->assertEquals('<p></p>', $result);
$result = Support::wrapTag("<p>", 'Hello World', true); $result = Support::wrapTag("<p>", 'Hello World', true);
$this->assertEquals('', $result); $this->assertEquals('<p>Hello World</p>', $result);
$result = Support::wrapTag("<p>", 'Hello World', false); $result = Support::wrapTag("<p>", 'Hello World', false);
$this->assertEquals('', $result); $this->assertEquals('<p>Hello World</p>', $result);
} }
......
Markdown is supported
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