Commit 0f061bea authored by kaniini's avatar kaniini
Browse files

tests: add regression test for bug #408

parent 956f3c75
Pipeline #4941 passed with stages
in 5 minutes
......@@ -149,6 +149,18 @@ test "it sets the password_hash, ap_id and following fields" do
assert changeset.changes.follower_address == "#{changeset.changes.ap_id}/followers"
test "it ensures info is not nil" do
changeset = User.register_changeset(%User{}, @full_user_data)
assert changeset.valid?
{:ok, user} =
|> Repo.insert()
refute is_nil(
describe "fetching a user from nickname or trying to build one" do
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment