Skip to content

Commit

Permalink
fix missing id in social_share_buttons tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Sep 18, 2023
1 parent 9bbbf86 commit 5810915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lacommunaute/forum/tests/tests_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def test_share_buttons(self):
response = self.client.get(url)
self.assertContains(
response,
'div class="dropdown-menu dropdown-menu-end" aria-labelledby="dropdownMenuSocialShare">',
f'div class="dropdown-menu dropdown-menu-end" aria-labelledby="dropdownMenuSocialShare{child_forum.id}">',
status_code=200,
)

Expand Down

0 comments on commit 5810915

Please sign in to comment.