Fix test.

This commit is contained in:
Dillon Kearns 2022-06-14 09:42:59 -07:00
parent 4117e072ca
commit cc81cf6bfb

View File

@ -81,7 +81,7 @@ all =
-- ),
test "new design idea 3" <|
\() ->
FormParser.runNew
FormParser.runServerSide
(fields
[ ( "password", "mypassword" )
, ( "password-confirmation", "mypassword" )
@ -148,8 +148,6 @@ field name value =
)
fields : List ( String, String ) -> Dict String Pages.Form.FieldState
fields : List ( String, String ) -> List ( String, String )
fields list =
list
|> List.map (\( name, value ) -> field name value)
|> Dict.fromList