Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-Crow committed May 2, 2024
1 parent 68723f8 commit 095faef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions content_manager/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ def test_footer_description_uses_conf(self):
url = self.content_page.url
response = self.client.get(url)

self.assertInHTML(
"""<p class="fr-footer__content-desc">
Site <b>description</b>.
</p>""",
response.content.decode(),
self.config.refresh_from_db()

self.assertContains(
response,
self.config.footer_description,
)


Expand Down

0 comments on commit 095faef

Please sign in to comment.