1
1
Fork 0

fix tags test with new url

This commit is contained in:
friendica 2012-04-24 01:02:22 -07:00
parent 7923404c83
commit fbdb8fc43a

View file

@ -202,8 +202,8 @@ class GetTagsTest extends PHPUnit_Framework_TestCase {
} }
$this->assertEquals("cid:15", $inform); $this->assertEquals("cid:15", $inform);
$this->assertEquals("@[url=http://justatest.de]Mike Lastname[/url],#[url=baseurl/search?search=test%20case]test case[/url]", $str_tags); $this->assertEquals("@[url=http://justatest.de]Mike Lastname[/url],#[url=baseurl/search?tag=test%20case]test case[/url]", $str_tags);
$this->assertEquals("hi @[url=http://justatest.de]Mike Lastname[/url] This is a #[url=baseurl/search?search=test%20case]test case[/url]", $text); $this->assertEquals("hi @[url=http://justatest.de]Mike Lastname[/url] This is a #[url=baseurl/search?tag=test%20case]test case[/url]", $text);
} }