diff --git a/test/exmr/exams_test.exs b/test/exmr/exams_test.exs index 8cd1afc..58a4027 100644 --- a/test/exmr/exams_test.exs +++ b/test/exmr/exams_test.exs @@ -21,7 +21,11 @@ defmodule Exmr.ExamsTest do end test "create_exam/1 with valid data creates a exam" do - valid_attrs = %{date: ~D[2024-11-13], description: "some description", subject: "some subject"} + valid_attrs = %{ + date: ~D[2024-11-13], + description: "some description", + subject: "some subject" + } assert {:ok, %Exam{} = exam} = Exams.create_exam(valid_attrs) assert exam.date == ~D[2024-11-13] @@ -35,7 +39,12 @@ defmodule Exmr.ExamsTest do test "update_exam/2 with valid data updates the exam" do exam = exam_fixture() - update_attrs = %{date: ~D[2024-11-14], description: "some updated description", subject: "some updated subject"} + + update_attrs = %{ + date: ~D[2024-11-14], + description: "some updated description", + subject: "some updated subject" + } assert {:ok, %Exam{} = exam} = Exams.update_exam(exam, update_attrs) assert exam.date == ~D[2024-11-14] diff --git a/test/exmr_web/live/exam_live_test.exs b/test/exmr_web/live/exam_live_test.exs index a4f01c3..b005020 100644 --- a/test/exmr_web/live/exam_live_test.exs +++ b/test/exmr_web/live/exam_live_test.exs @@ -5,7 +5,11 @@ defmodule ExmrWeb.ExamLiveTest do import Exmr.ExamsFixtures @create_attrs %{date: "2024-11-13", description: "some description", subject: "some subject"} - @update_attrs %{date: "2024-11-14", description: "some updated description", subject: "some updated subject"} + @update_attrs %{ + date: "2024-11-14", + description: "some updated description", + subject: "some updated subject" + } @invalid_attrs %{date: nil, description: nil, subject: nil} defp create_exam(_) do