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:
Penar Musaraj 2023-03-16 11:27:04 -04:00 committed by GitHub
parent 0bd64788d2
commit c213cc7211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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"
);

View File

@ -4077,7 +4077,7 @@ export default {
tags: [
{
id: 1,
name: "test",
name: "important",
topic_count: 2,
staff: false,
},