Skip to content

Fix DecisionLastModifiedTest's reliance on datetimes being stored with sub-second precision

decentral1se requested to merge rdn32:jenkins-timestamp-fix into develop

Created by: rdn32

This was OK in development (using sqlite) but not on jenkins (using MySQL).

The new approach is to mock the function used by Django for getting the current time, so that we can make time in the test appear to move sufficiently fast that this is no longer a problem.

Merge request reports

Loading