mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 00:05:29 +00:00
Update Autolinker test
This commit is contained in:
parent
24ff176744
commit
52b5eab9b7
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class StatusLexerTest extends TestCase
|
||||||
|
|
||||||
public function testAutolink()
|
public function testAutolink()
|
||||||
{
|
{
|
||||||
$expected = '@<a class="u-url mention" href="https://pixelfed.dev/pixelfed" rel="external nofollow noopener" target="_blank">pixelfed</a> hi, really like the website! <a href="https://pixelfed.dev/discover/tags/píxelfed?src=hash" title="#píxelfed" class="u-url hashtag" rel="external nofollow noopener">#píxelfed</a>';
|
$expected = '<a class="u-url mention" href="https://pixelfed.dev/pixelfed" rel="external nofollow noopener" target="_blank">@pixelfed</a> hi, really like the website! <a href="https://pixelfed.dev/discover/tags/píxelfed?src=hash" title="#píxelfed" class="u-url hashtag" rel="external nofollow noopener">#píxelfed</a>';
|
||||||
$this->assertEquals($this->autolink, $expected);
|
$this->assertEquals($this->autolink, $expected);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue