Skip to main content

seed_frozen_registration

Function seed_frozen_registration 

Source
async fn seed_frozen_registration(
    conn: &mut PgConnection,
    cx: &SeedContext,
    course: SeededCourse,
    course_module_id: Uuid,
    student: &SeededStudent,
    state: CreditRegistrationState,
    error_code: Option<CreditRegistrationErrorCode>,
) -> Result<()>
Expand description

One completion and one ledger row parked in state, for student on course_module_id.