diff --git a/src/open_inwoner/cms/cases/views/status.py b/src/open_inwoner/cms/cases/views/status.py index 88b303bac1..d559677093 100644 --- a/src/open_inwoner/cms/cases/views/status.py +++ b/src/open_inwoner/cms/cases/views/status.py @@ -748,12 +748,10 @@ def register_by_api(self, form, config: OpenKlantConfig): klant = fetch_klant(**get_fetch_parameters(self.request.user)) if klant: - self.log_system_action( - "retrieved klant for BSN-user", user=self.request.user - ) + self.log_system_action("retrieved klant for user", user=self.request.user) else: self.log_system_action( - "could not retrieve klant for BSN-user", user=self.request.user + "could not retrieve klant for user", user=self.request.user ) data = { "bronorganisatie": config.register_bronorganisatie_rsin, @@ -772,7 +770,7 @@ def register_by_api(self, form, config: OpenKlantConfig): ) else: self.log_system_action( - "could not create klant for BSN-user", user=self.request.user + "could not create klant for user", user=self.request.user ) # create contact moment diff --git a/src/open_inwoner/openklant/tests/test_signal.py b/src/open_inwoner/openklant/tests/test_signal.py index 1f67f11558..9f36430903 100644 --- a/src/open_inwoner/openklant/tests/test_signal.py +++ b/src/open_inwoner/openklant/tests/test_signal.py @@ -58,7 +58,7 @@ def test_update_user_after_login(self, m): self.assertEqual(user.email, "new@example.com") self.assertEqual(user.phonenumber, "0612345678") - self.assertTimelineLog("retrieved klant for BSN-user") + self.assertTimelineLog("retrieved klant for user") self.assertTimelineLog( "updated user from klant API with fields: email, phonenumber" ) @@ -101,5 +101,5 @@ def test_update_user_after_login_skips_existing_email(self, m): self.assertEqual(user.email, "old@example.com") self.assertEqual(user.phonenumber, "0612345678") - self.assertTimelineLog("retrieved klant for BSN-user") + self.assertTimelineLog("retrieved klant for user") self.assertTimelineLog("updated user from klant API with fields: phonenumber")