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

BC-6131 - fix test factory for school year #4673

Merged
merged 3 commits into from
Jan 3, 2024

Conversation

virgilchiriac
Copy link
Contributor

@virgilchiriac virgilchiriac commented Jan 3, 2024

Description

Links to Tickets or other pull requests

BC-6131

Changes

Datasecurity

Deployment

New Repos, NPM pakages or vendor scripts

Approval for review

  • DEV: If api was changed - generate-client:server was executed in vue frontend and changes were tested and put in a PR with the same branch name.
  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

Copy link
Member

@Loki-Afro Loki-Afro left a comment

Choose a reason for hiding this comment

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

please also improve the test in schoolyear.repo.integration.whatever

create a few school years, make sure the correct one is found

  • create a sequence of years
  • make sure findCurrentYear() returns the one relevant for the current date

basically the reverse of what you just did

@virgilchiriac virgilchiriac self-assigned this Jan 3, 2024
Copy link

sonarqubecloud bot commented Jan 3, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

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

See analysis details on SonarCloud

@virgilchiriac virgilchiriac merged commit 3444c2e into main Jan 3, 2024
45 of 46 checks passed
@virgilchiriac virgilchiriac deleted the BC-6131-fix-tests-schoolyear branch January 3, 2024 13:12
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