diff --git a/lacommunaute/search/__snapshots__/tests.ambr b/lacommunaute/search/__snapshots__/tests.ambr
index 5a9f3fb11..d9ded8844 100644
--- a/lacommunaute/search/__snapshots__/tests.ambr
+++ b/lacommunaute/search/__snapshots__/tests.ambr
@@ -153,7 +153,7 @@
-
+
Poser une question
diff --git a/lacommunaute/search/tests.py b/lacommunaute/search/tests.py
index 67655ac57..a16e1188b 100644
--- a/lacommunaute/search/tests.py
+++ b/lacommunaute/search/tests.py
@@ -209,7 +209,7 @@ def test_extra_context(client, db, user, snapshot_name, search_url, snapshot):
datas = {"m": "TOPIC", "q": " ".join(["Bubba", "Gump", "Shrimp", "Co."])}
response = client.get(search_url, datas)
content = parse_response_to_soup(
- response, selector="main", replace_in_href=[(forum.slug, "forrest-gump"), (str(forum.pk), "42")]
+ response, selector="main", replace_in_href=[(f"{forum.slug}-{forum.pk}", "forrest-gump-PK")]
)
assert str(content) == snapshot(name=snapshot_name)