Skip to content

Making Tests Independent From Academic Year Term Code #674

Description

@ArtemKurasov

Issue Description

Currently, many lsf tests use the term code of the "current" academic year (termCode_id="20XX00") for the test data. However, whenever a new academic year comes, that requires manually updating termCode_id to the actual current academic year.

Example of where this can be problematic

For example, when academic year 2027-2028 hits, each occurrence of termCode_id="202600" will have to be manually changed to termCode_id="202700" everywhere in the test code. Forgetting to do this step will cause most of the tests to fail.

What needs to be changed?

The current implementation is inconvenient. What should be instead is a different set of term codes that would work for any academic year OR a specific variable that would automatically detect the current academic year.

Metadata

Metadata

Assignees

No one assigned

    Labels

    drafton holdThis issue is waiting on another issue or more information or analysis

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions