Skip to content

Commit

Permalink
fix one test applications lang issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yolile committed Aug 22, 2024
1 parent 608ab87 commit 36b5c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/routers/test_applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def test_approve_application_cycle(
# OCP ask for a file that does not exist
response = client.get("/applications/documents/id/999", headers=admin_header)
assert response.status_code == status.HTTP_404_NOT_FOUND
assert response.json() == {"detail": _("BorrowerDocument not found")}
assert response.json() == {"detail": _("%(model_name)s not found", model_name="BorrowerDocument")}

# lender tries to approve the application without verifying legal_name
response = client.post(f"/applications/{appid}/approve-application", json=approve_payload, headers=lender_header)
Expand Down

0 comments on commit 36b5c55

Please sign in to comment.