Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nygrenh committed Aug 26, 2024
1 parent d0c0e2f commit cdb4c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/headless-lms/models/src/library/progressing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ mod tests {

#[tokio::test]
async fn tags_suspected_cheater() {
insert_data!(:tx, user:user, :org, course:course, instance:instance, course_module:course_module, :chapter, :page, :exercise, :slide);
insert_data!(:tx, user:user, :org, course:course, instance:instance, course_module:course_module, :chapter, :page, :exercise);

crate::library::course_instances::enroll(tx.as_mut(), user, instance.id, &[])
.await
Expand Down Expand Up @@ -1228,7 +1228,7 @@ mod tests {

#[tokio::test]
async fn doesnt_tag_suspected_cheater() {
insert_data!(:tx, user:user, :org, course:course, instance:instance, course_module:course_module, :chapter, :page, :exercise, :slide, :task);
insert_data!(:tx, user:user, :org, course:course, instance:instance, course_module:course_module, :chapter, :page, :exercise);

crate::library::course_instances::enroll(tx.as_mut(), user, instance.id, &[])
.await
Expand Down

0 comments on commit cdb4c5f

Please sign in to comment.