Skip to content

Commit

Permalink
Add files via upload (#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjw142857 authored Sep 20, 2023
1 parent b2422a4 commit dcecb49
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/cadet/assessments/assessments_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,11 @@ defmodule Cadet.AssessmentsTest do
unassigned_voting_questions = Assessments.fetch_unassigned_voting_questions()
assert Enum.count(unassigned_voting_questions) == 2

assert Enum.map(unassigned_voting_questions, fn q -> q.question_id end) == [
closed_question.id,
open_question.id
]
unassigned_voting_question_ids =
Enum.map(unassigned_voting_questions, fn q -> q.question_id end)

assert closed_question.id in unassigned_voting_question_ids
assert open_question.id in unassigned_voting_question_ids

Assessments.update_final_contest_entries()

Expand Down

0 comments on commit dcecb49

Please sign in to comment.