Skip to main content

backdate

Function backdate 

Source
pub async fn backdate(
    conn: &mut PgConnection,
    file_upload_id: Uuid,
    age: Duration,
) -> ModelResult<()>
Expand description

Ages a recorded upload, so a test can reach the retention window without waiting a week.