fix(mobile): address code review findings in mobile app config and tests

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-10 09:57:58 +00:00
parent d538c0879d
commit 4eb04bd7f6
4 changed files with 11 additions and 18 deletions
+1
View File
@@ -494,6 +494,7 @@ class TestPushNotificationUtility:
with patch("app.utils.push_notification.send_expo_push_notification") as mock_send:
send_push_to_owner("user@example.com", "Title", "Body")
mock_send.assert_not_called()
mock_session.close.assert_called_once()
def test_send_push_to_owner_with_devices(self):
"""send_push_to_owner calls send_expo_push_notification with device tokens."""