Add follower_address to users, add on generation.

This commit is contained in:
Roger Braun 2017-07-19 18:49:25 +02:00
commit 396c32a6da
4 changed files with 55 additions and 6 deletions

View file

@ -9,7 +9,7 @@ defmodule Pleroma.Factory do
password_hash: Comeonin.Pbkdf2.hashpwsalt("test"),
bio: sequence(:bio, &"Tester Number #{&1}"),
}
%{ user | ap_id: Pleroma.User.ap_id(user) }
%{ user | ap_id: Pleroma.User.ap_id(user), follower_address: Pleroma.User.ap_followers(user) }
end
def note_factory do