From 616402696251a39e0596e69abc8c3d1d9a367819 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Mon, 24 Jun 2024 22:16:39 -0400 Subject: [PATCH] test: remove unused variable in tests --- test/form_test.exs | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/test/form_test.exs b/test/form_test.exs index a61468f..79aafad 100644 --- a/test/form_test.exs +++ b/test/form_test.exs @@ -59,15 +59,14 @@ defmodule AshPhoenix.FormTest do end test "empty atom field" do - form = - Post - |> Form.for_create(:create, - domain: Domain, - params: %{} - ) - |> Form.submit!( - params: %{"inline_atom_field" => "", "custom_atom_field" => "", "text" => "text"} - ) + Post + |> Form.for_create(:create, + domain: Domain, + params: %{} + ) + |> Form.submit!( + params: %{"inline_atom_field" => "", "custom_atom_field" => "", "text" => "text"} + ) end test "update_form marks touched by default" do