mirror of
https://github.com/ash-project/ash_phoenix.git
synced 2024-09-17 05:42:49 +12:00
test: remove unused variable in tests
This commit is contained in:
parent
291fa9ce93
commit
6164026962
1 changed files with 8 additions and 9 deletions
|
@ -59,15 +59,14 @@ defmodule AshPhoenix.FormTest do
|
||||||
end
|
end
|
||||||
|
|
||||||
test "empty atom field" do
|
test "empty atom field" do
|
||||||
form =
|
Post
|
||||||
Post
|
|> Form.for_create(:create,
|
||||||
|> Form.for_create(:create,
|
domain: Domain,
|
||||||
domain: Domain,
|
params: %{}
|
||||||
params: %{}
|
)
|
||||||
)
|
|> Form.submit!(
|
||||||
|> Form.submit!(
|
params: %{"inline_atom_field" => "", "custom_atom_field" => "", "text" => "text"}
|
||||||
params: %{"inline_atom_field" => "", "custom_atom_field" => "", "text" => "text"}
|
)
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
test "update_form marks touched by default" do
|
test "update_form marks touched by default" do
|
||||||
|
|
Loading…
Reference in a new issue