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

19942 Fix broken unit tests (report folder) #2522

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

leodube-aot
Copy link
Collaborator

Issue #: /bcgov/entity#19942

Description of changes:

  • Fix broken unit tests for report folder
  • 60/60 unit tests pass

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 Mar 15, 2024
@leodube-aot leodube-aot marked this pull request as ready for review March 15, 2024 17:10
recognition_datetime = LegislationDatetime.as_legislation_timezone(self._legal_entity.founding_date)
if self._business:
recognition_datetime = LegislationDatetime.as_legislation_timezone(
self._business.founding_date if self._business.is_legal_entity else self._business.start_date
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Are we okay with making recognition_date for alternate name entities be the start_date, since there is no founding_date? Or do we just not want to include the recognition date in the output for alternate names?

Copy link
Collaborator

Choose a reason for hiding this comment

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

yes, we can use start_date for the recognition date

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@leodube-aot leodube-aot merged commit 1a3bc7e into bcgov:feature-legal-name Mar 15, 2024
4 of 5 checks passed
PaulGarewal pushed a commit to PaulGarewal/lear that referenced this pull request Mar 18, 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.

2 participants