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 {
$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);
}
......
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