From 7f980cffcc3a20f5c93e128313c1a4a47b39dc8e Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 15 Dec 2015 22:39:39 -0500 Subject: Show profile link for @username mentions --- tests/units/Helper/TextHelperTest.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/units/Helper/TextHelperTest.php b/tests/units/Helper/TextHelperTest.php index 30c537a9..a4bdfa91 100644 --- a/tests/units/Helper/TextHelperTest.php +++ b/tests/units/Helper/TextHelperTest.php @@ -6,7 +6,7 @@ use Kanboard\Helper\Text; class TextHelperTest extends Base { - public function testMarkdown() + public function testMarkdownTaskLink() { $h = new Text($this->container); @@ -31,6 +31,12 @@ class TextHelperTest extends Base ); } + public function testMarkdownUserLink() + { + $h = new Text($this->container); + $this->assertEquals('

Text @admin @notfound

', $h->markdown('Text @admin @notfound')); + } + public function testFormatBytes() { $h = new Text($this->container); -- cgit v1.2.3