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

[2061] Fix tests which will fail when rollover ends (spike) #4384

Closed

Conversation

avinhurry
Copy link
Collaborator

@avinhurry avinhurry commented Jul 17, 2024

Context

Following on from #4383 these will also fail when the current recruitment cycle closes.

These test mainly fail due to TDA being a 2025 cycle feature only, i.e not available in the current cycle.

These tests make more sense to fix when the time comes because:

  • The next recruitment cycle will become the current recruitment cycle

  • We should be able to remove the TDA feature flag and recruitment cycle check at this point

This branch will act as a spike and can also be re-opened when the time comes if desired.

Changes proposed in this pull request

  • Fix failing tests when the current_recruitment_cycle_year is updated to 2025.

Guidance to review

Is everything still fully tested?

Checklist

  • Make sure all information from the Trello card is in here
  • Attach to Trello card
  • Rebased main
  • Cleaned commit history
  • Tested by running locally
  • Inform data insights team due to database changes

@avinhurry
Copy link
Collaborator Author

@avinhurry avinhurry force-pushed the 2061-fix-tests-which-will-fail-when-rollover-ends-2 branch 3 times, most recently from ece728a to 18194ea Compare July 17, 2024 18:46
@DFE-Digital DFE-Digital deleted a comment from tomas-stefano Jul 17, 2024
@avinhurry avinhurry added the DO NOT MERGE This PR is not ready to be deployed label Jul 17, 2024
@avinhurry
Copy link
Collaborator Author

@avinhurry avinhurry force-pushed the 2061-fix-tests-which-will-fail-when-rollover-ends-2 branch from 18194ea to aedc4eb Compare July 17, 2024 19:04
These tests make more sense to fix when the time comes because:

- The next recruitment cycle will become the current recruitment cycle

- We should be able to remove the TDA feature flag and recruitment cycle check at this point

This branch will act as a SPIKE.
@avinhurry avinhurry force-pushed the 2061-fix-tests-which-will-fail-when-rollover-ends-2 branch from aedc4eb to 13319f0 Compare July 17, 2024 19:34
@avinhurry
Copy link
Collaborator Author

Tests are green, spike complete, closing this for now. It can be re-opened when we need it, to merge on the 1st of October 2024.

@avinhurry avinhurry closed this Jul 17, 2024
@avinhurry avinhurry deleted the 2061-fix-tests-which-will-fail-when-rollover-ends-2 branch July 17, 2024 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DO NOT MERGE This PR is not ready to be deployed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant