Skip to content

Commit

Permalink
[#1986] Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
alextreme committed Jan 2, 2024
1 parent 1ba8c5b commit f839d13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/open_inwoner/accounts/tests/test_profile_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ def test_mydata_not_shown_without_digid(self):
response = self.app.get(self.url, user=self.user)
self.assertNotContains(response, _("My details"))

def test_active_user_notifications_are_shown(self):
@patch("open_inwoner.cms.utils.page_display._is_published", return_value=True)
def test_active_user_notifications_are_shown(self, mock_page_display):
user = UserFactory(
bsn="999993847",
first_name="name",
Expand Down

0 comments on commit f839d13

Please sign in to comment.