Update test case
This commit is contained in:
@@ -47,7 +47,7 @@ class TextHelperTest extends Base
|
|||||||
public function testMarkdownUserLink()
|
public function testMarkdownUserLink()
|
||||||
{
|
{
|
||||||
$h = new TextHelper($this->container);
|
$h = new TextHelper($this->container);
|
||||||
$this->assertEquals('<p>Text <a href="?controller=user&action=profile&user_id=1" class="user-mention-link">@admin</a> @notfound</p>', $h->markdown('Text @admin @notfound'));
|
$this->assertEquals('<p>Text <a href="?controller=UserViewController&action=profile&user_id=1" class="user-mention-link">@admin</a> @notfound</p>', $h->markdown('Text @admin @notfound'));
|
||||||
$this->assertEquals('<p>Text @admin @notfound</p>', $h->markdown('Text @admin @notfound', true));
|
$this->assertEquals('<p>Text @admin @notfound</p>', $h->markdown('Text @admin @notfound', true));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user