Fix tests

This commit is contained in:
Alex Lion
2024-12-25 10:40:03 -05:00
parent 4e943a17f6
commit f7dbb13a49

View File

@@ -114,14 +114,12 @@ defmodule Claper.Quizzes do
Claper.Workers.QuizLti.create(quiz.id) |> Oban.insert()
end
quiz =
get_quiz!(quiz.id, [
:quiz_questions,
quiz_questions: :quiz_question_opts,
presentation_file: :event
presentation_file =
Claper.Presentations.get_presentation_file!(quiz.presentation_file_id, [
:event
])
broadcast({:ok, quiz, quiz.presentation_file.event.uuid}, :quiz_created)
broadcast({:ok, quiz, presentation_file.event.uuid}, :quiz_created)
{:ok, quiz}