mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
Fix broken tests.
This commit is contained in:
parent
c99775ebdb
commit
4cd07fbb29
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ test("Mentions", function() {
|
|||
});
|
||||
|
||||
test("Category hashtags", () => {
|
||||
var alwaysTrue = { categoryHashtagLookup: (function() { return "http://test.discourse.org/category-hashtag"; }) };
|
||||
var alwaysTrue = { categoryHashtagLookup: (function() { return ["http://test.discourse.org/category-hashtag", "category-hashtag"]; }) };
|
||||
|
||||
cookedOptions("Check out #category-hashtag", alwaysTrue,
|
||||
"<p>Check out <a class=\"hashtag\" href=\"http://test.discourse.org/category-hashtag\">#<span>category-hashtag</span></a></p>",
|
||||
|
|
Loading…
Reference in a new issue