Skip to content

Commit 6a98cfb

Browse files
committed
chore: prevent overseer test submission from being sent to tii
1 parent 2639ce2 commit 6a98cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/sidekiq/accept_submission_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def perform(task_id, user_id, accepted_tii_eula, test_submission)
5656
end
5757

5858
# When converted, we can now send documents to turn it in for checking
59-
if TurnItIn.enabled?
59+
if TurnItIn.enabled? && !test_submission
6060
task.send_documents_to_tii(user, accepted_tii_eula: accepted_tii_eula)
6161
end
6262

0 commit comments

Comments
 (0)