Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix tag route fixture param (#20693)

Penar Musarajc213cc7211ce
diff --git a/app/assets/javascripts/discourse/tests/acceptance/search-test.js b/app/assets/javascripts/discourse/tests/acceptance/search-test.js
index 87741e151a2..90573f61eb0 100644
--- a/app/assets/javascripts/discourse/tests/acceptance/search-test.js
+++ b/app/assets/javascripts/discourse/tests/acceptance/search-test.js
@@ -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"
);
diff --git a/app/assets/javascripts/discourse/tests/fixtures/discovery-fixtures.js b/app/assets/javascripts/discourse/tests/fixtures/discovery-fixtures.js
index fcd1df6fce8..796875aed70 100644
--- a/app/assets/javascripts/discourse/tests/fixtures/discovery-fixtures.js
+++ b/app/assets/javascripts/discourse/tests/fixtures/discovery-fixtures.js
@@ -4077,7 +4077,7 @@ export default {
tags: [
{
id: 1,
- name: "test",
+ name: "important",
topic_count: 2,
staff: false,
},