mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix broken tests.
This commit is contained in:
parent
c99775ebdb
commit
4cd07fbb29
@ -290,7 +290,7 @@ test("Mentions", function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test("Category hashtags", () => {
|
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,
|
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>",
|
"<p>Check out <a class=\"hashtag\" href=\"http://test.discourse.org/category-hashtag\">#<span>category-hashtag</span></a></p>",
|
||||||
|
Loading…
Reference in New Issue
Block a user