Skip to content

Commit

Permalink
fix: lowercase L in attachment title (#2920)
Browse files Browse the repository at this point in the history
* fix: lowercase L in attachment title

* fix: remove unneeded reseed() call
  • Loading branch information
rikuke authored Apr 9, 2024
1 parent aa84b60 commit 3ed504f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/benefit/applications/services/ahjo_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _prepare_case_records(
)

document_record = _prepare_record(
"Hakemuksen Liite",
"Hakemuksen liite",
"hakemuksen liite",
attachment.created_at.isoformat(),
[_prepare_record_document_dict(attachment)],
Expand Down
2 changes: 1 addition & 1 deletion backend/benefit/applications/tests/test_ahjo_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def test_prepare_case_records(decided_application, settings):
attachment_type=AttachmentType.PDF_SUMMARY
):
document_record = _prepare_record(
"Hakemuksen Liite",
"Hakemuksen liite",
"hakemuksen liite",
attachment.created_at.isoformat(),
[_prepare_record_document_dict(attachment)],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ def test_applications_simple_list_filter(
def test_applications_filter_archived_for_applicant(
api_client, mock_get_organisation_roles_and_create_company
):
reseed(12345)
recent_batch = ApplicationBatchFactory(
decision_date=date.today() - relativedelta(days=2),
status=ApplicationBatchStatus.COMPLETED,
Expand Down

0 comments on commit 3ed504f

Please sign in to comment.