diff --git a/tests/TestCase/Utility/TextTest.php b/tests/TestCase/Utility/TextTest.php index 83d5ae1a2bf..ceea5c9b71c 100644 --- a/tests/TestCase/Utility/TextTest.php +++ b/tests/TestCase/Utility/TextTest.php @@ -845,6 +845,11 @@ public function testStripLinks() $result = $this->Text->stripLinks($text); $this->assertEquals($expected, $result); + $text = 'This is a test text'; + $expected = 'This is a test text'; + $result = $this->Text->stripLinks($text); + $this->assertEquals($expected, $result); + $text = ' href=\'bla\'>test>'; $this->assertEquals('test', $this->Text->stripLinks($text));