浏览代码

Update Autolinker test

Daniel Supernault 6 年之前
父节点
当前提交
52b5eab9b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/Unit/Lexer/StatusLexerTest.php

+ 1 - 1
tests/Unit/Lexer/StatusLexerTest.php

@@ -59,7 +59,7 @@ class StatusLexerTest extends TestCase
 
     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);
     }