use atoms for role changeset

This commit is contained in:
2023-01-29 12:56:44 -05:00
parent 40f301ca71
commit 24f608163f
3 changed files with 4 additions and 4 deletions
lib/memex
test/support

@ -29,7 +29,7 @@ defmodule Memex.Fixtures do
})
|> Accounts.register_user()
|> unwrap_ok_tuple()
|> User.role_changeset("admin")
|> User.role_changeset(:admin)
|> Repo.update!()
end