mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 13:03:39 +08:00
DEV: Fix tag route fixture param (#20693)
This tag route is /tag/important/l/latest.json so the tag name should also be important.
This commit is contained in:
parent
0bd64788d2
commit
c213cc7211
|
@ -139,7 +139,7 @@ acceptance("Search - Anonymous", function (needs) {
|
|||
|
||||
assert.strictEqual(
|
||||
queryAll(contextSelector)[0].firstChild.textContent.trim(),
|
||||
`${I18n.t("search.in")} test`,
|
||||
`${I18n.t("search.in")} important`,
|
||||
"contextual tag search is first available option with no term"
|
||||
);
|
||||
|
||||
|
@ -147,7 +147,7 @@ acceptance("Search - Anonymous", function (needs) {
|
|||
|
||||
assert.strictEqual(
|
||||
queryAll(contextSelector)[1].firstChild.textContent.trim(),
|
||||
`smth ${I18n.t("search.in")} test`,
|
||||
`smth ${I18n.t("search.in")} important`,
|
||||
"tag-scoped search is second available option"
|
||||
);
|
||||
|
||||
|
|
|
@ -4077,7 +4077,7 @@ export default {
|
|||
tags: [
|
||||
{
|
||||
id: 1,
|
||||
name: "test",
|
||||
name: "important",
|
||||
topic_count: 2,
|
||||
staff: false,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user