]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Correct the hash tag test
authorCraig Andrews <candrews@integralblue.com>
Tue, 25 Aug 2009 20:06:04 +0000 (16:06 -0400)
committerCraig Andrews <candrews@integralblue.com>
Tue, 25 Aug 2009 20:06:04 +0000 (16:06 -0400)
tests/HashTagDetectionTest.php

index 71137b0b5415e50247975c531b3503ad2a3e4994..55e1f65bf9e9de567079dd73ebd887f1e6dddad0 100644 (file)
@@ -28,7 +28,7 @@ class HashTagDetectionTest extends PHPUnit_Framework_TestCase
                      array('hello',
                            'hello'),
                      array('#hello',
-                           '<a href="/tag/hello">hello</a>'),
+                           '#<span class="tag"><a href="' . common_local_url('tag', array('tag' => common_canonical_tag('hello'))) . '" rel="tag">hello</a></span>'),
                      );
     }
 }