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

18163 AGM location change update filer and validations #2258

Merged
merged 8 commits into from
Oct 26, 2023

Conversation

leodube-aot
Copy link
Collaborator

Issue #: /bcgov/entity#18163

Description of changes:

  • Removed existing address validation
  • Updated Filer metadata based on UI Design
  • Updated unit tests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

@leodube-aot leodube-aot self-assigned this Oct 24, 2023
assert filing_json['filing']['agmLocationChange']['newAgmLocation']['addressCity'] == \
agm_location.get('addressCity')
assert filing_json['filing']['agmLocationChange']['agmLocation'] == agm_location_change.get('agmLocation')
assert filing_json['filing']['agmLocationChange']['reason'] == agm_location_change.get('reason')
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Once bcgov/business-schemas#146 gets merged, I will update the business schema version in the requirements so that the example data gets updated.

@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Merging #2258 (79511cd) into main (fec0862) will increase coverage by 0.33%.
Report is 10 commits behind head on main.
The diff coverage is 38.29%.

@@            Coverage Diff             @@
##             main    #2258      +/-   ##
==========================================
+ Coverage   77.03%   77.37%   +0.33%     
==========================================
  Files         161      202      +41     
  Lines        9838    11602    +1764     
  Branches     1660     1961     +301     
==========================================
+ Hits         7579     8977    +1398     
- Misses       1801     2043     +242     
- Partials      458      582     +124     
Flag Coverage Δ
entityfiler 80.40% <100.00%> (?)
legalapi 76.84% <36.95%> (-0.20%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
legal-api/src/legal_api/core/meta/filing.py 91.11% <100.00%> (+0.55%) ⬆️
legal-api/src/legal_api/models/filing.py 92.41% <ø> (ø)
...al_api/resources/v2/business/business_directors.py 97.36% <ø> (-0.14%) ⬇️
...ervices/filings/validations/agm_location_change.py 91.30% <ø> (-0.37%) ⬇️
legal-api/src/legal_api/version.py 100.00% <100.00%> (ø)
...ity_filer/filing_processors/agm_location_change.py 100.00% <ø> (ø)
..._services/entity-filer/src/entity_filer/version.py 100.00% <100.00%> (ø)
legal-api/src/legal_api/reports/report.py 26.35% <11.11%> (-0.09%) ⬇️
...egal-api/src/legal_api/resources/v2/namerequest.py 28.57% <19.23%> (-18.49%) ⬇️

... and 39 files with indirect coverage changes

@argush3
Copy link
Collaborator

argush3 commented Oct 24, 2023

Looks good but let's see what comes out of the schema review.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@leodube-aot leodube-aot merged commit 07cfefc into bcgov:main Oct 26, 2023
13 checks passed
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.

3 participants