Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

428 contact info char limit #439

Merged
merged 7 commits into from
Oct 11, 2024
Merged

428 contact info char limit #439

merged 7 commits into from
Oct 11, 2024

Conversation

guffee23
Copy link
Contributor

@guffee23 guffee23 commented Oct 8, 2024

Closes #428

Copy link

github-actions bot commented Oct 8, 2024

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/sbl_filing_api/entities/models
  dao.py
  dto.py
Project Total  

This report was generated by python-coverage-comment-action

@@ -522,6 +524,34 @@ async def test_create_contact_info(self, transaction_session: AsyncSession):
assert filing.contact_info.phone_number == "312-345-6789"
assert filing.contact_info.email == "[email protected]"

async def test_create_contact_info_invalid_field_length(self, transaction_session: AsyncSession):
out_of_rang_text = (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo on the var name assuming you meant to say range

@@ -561,6 +591,36 @@ async def test_update_contact_info(self, transaction_session: AsyncSession):
assert filing.contact_info.phone_ext == "x12345"
assert filing.contact_info.email == "[email protected]"

async def test_update_contact_info_invalid_field_length(self, transaction_session: AsyncSession):
out_of_rang_text = (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

@lchen-2101 lchen-2101 merged commit cf9cb3b into main Oct 11, 2024
5 checks passed
@lchen-2101 lchen-2101 deleted the 428_contact_info_char_limit branch October 11, 2024 14:35
@jcadam14 jcadam14 mentioned this pull request Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set 255 character limits on ContactInfo table/DAO/DTO
2 participants