Existing test scenarios cover different arrangements of movements for a client, but they all assume that each movement is associated with a visa which is eligible for indefinite leave to remain.
We need to create more tests which confirm that if the client doesn't hold an indefinite visa their movements will not count towards their eligibility calculation
In particular
[ ] test movements which would satisfy the eligibility calculation except that they are not during the period of an indefinite visa
[ ] test that if a client holds an indefinite visa for a sufficient number of days they will not be approved unless they also have movements which show they were present
[ ] Test cases where visas overlap - if a visa expires but another indefinite visa exists, the client should continue to be eligible until all visas have expired.
[ ] Test that if a client holds a finite visa as well as an indefinite visa the finite visa does not reduce their eligibility
[ ] Test that if a client enters on a finite visa but holds or later gains an indefinite visa their movement is still counted towards eligibility
[ ] Test that indefinite visas count towards eligibility on the day they expire
Existing test scenarios cover different arrangements of movements for a client, but they all assume that each movement is associated with a visa which is eligible for indefinite leave to remain.
We need to create more tests which confirm that if the client doesn't hold an indefinite visa their movements will not count towards their eligibility calculation
In particular