Skip to content

Commit 2138c6b

Browse files
authored
Merge pull request #5562 from raft-tech/5561-ffr-ssn-error-msg
Update Error Message for Federally Funded Recipients SSN
2 parents a25fd86 + af7d76e commit 2138c6b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

tdrs-backend/tdpservice/parsers/parser_classes/tdr_parser.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,7 @@ def _generate_funded_ssn_errors(self, t2_schema, t2_records, t1_schema):
390390
for serial_num in INVALID_SSN_SERIAL_NUMBERS
391391
],
392392
error_message=(
393-
"Social Security Number is not valid. Check that the SSN is 9 digits, "
394-
"does not contain only zeroes in any one section, and does not contain "
395-
"dashes or other punctuation."
393+
"Federally funded recipients must have a valid Social Security number."
396394
),
397395
)
398396

tdrs-backend/tdpservice/parsers/test/test_parse.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2663,6 +2663,5 @@ def test_parse_tanf_s1_federally_funded_recipients(
26632663
dfs.status = dfs.get_status()
26642664
assert dfs.status == DataFileSummary.Status.ACCEPTED_WITH_ERRORS
26652665
assert errors.last().error_message == (
2666-
"Social Security Number is not valid. Check that the SSN is 9 digits, "
2667-
"does not contain only zeroes in any one section, and does not contain dashes or other punctuation."
2666+
"Federally funded recipients must have a valid Social Security number."
26682667
)

0 commit comments

Comments
 (0)