aaronrenner / phx_gen_auth

An authentication system generator for Phoenix 1.5 applications.
774 stars 56 forks source link

Wrong arity listed in descriptions for context tests #59

Closed liamwhite closed 4 years ago

liamwhite commented 4 years ago

get_user_by_email_and_password/1 (should be /2) https://github.com/aaronrenner/phx_gen_auth/blob/3ed8ce9655ec07047445588808db028e5bfba01c/priv/templates/phx.gen.auth/context_functions.ex#L33 https://github.com/aaronrenner/phx_gen_auth/blob/3ed8ce9655ec07047445588808db028e5bfba01c/priv/templates/phx.gen.auth/test_cases.exs#L15


get_user_by_reset_password_token/2 (should be /1) https://github.com/aaronrenner/phx_gen_auth/blob/3ed8ce9655ec07047445588808db028e5bfba01c/priv/templates/phx.gen.auth/context_functions.ex#L311 https://github.com/aaronrenner/phx_gen_auth/blob/3ed8ce9655ec07047445588808db028e5bfba01c/priv/templates/phx.gen.auth/test_cases.exs#L405


reset_user_password/3 (should be /2) https://github.com/aaronrenner/phx_gen_auth/blob/3ed8ce9655ec07047445588808db028e5bfba01c/priv/templates/phx.gen.auth/context_functions.ex#L332 https://github.com/aaronrenner/phx_gen_auth/blob/3ed8ce9655ec07047445588808db028e5bfba01c/priv/templates/phx.gen.auth/test_cases.exs#L434

aaronrenner commented 4 years ago

@liamwhite Thanks for catching this! A PR would definitely be appreciated!