easy test fixes
This commit is contained in:
@@ -97,7 +97,7 @@ defmodule PokemonCouture.AccountsTest do
|
||||
describe "change_user_registration/2" do
|
||||
test "returns a changeset" do
|
||||
assert %Ecto.Changeset{} = changeset = Accounts.change_user_registration(%User{})
|
||||
assert changeset.required == [:password, :email]
|
||||
assert changeset.required == [:password, :email, :username]
|
||||
end
|
||||
|
||||
test "allows fields to be set" do
|
||||
|
||||
Reference in New Issue
Block a user