From 3733b614eaab484676c70a617e496a89fcf51e78 Mon Sep 17 00:00:00 2001 From: Vladimir Rubin Date: Sun, 17 Nov 2024 21:47:37 +0200 Subject: [PATCH] fix(formatting): fix some formatting --- test/exmr/exams_test.exs | 13 +++++++++++-- test/exmr_web/live/exam_live_test.exs | 6 +++++- 2 files changed, 16 insertions(+), 3 deletions(-) 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