Make users in tests follow themselves by default.
Also fix the semantics of all tests to match.
This commit is contained in:
parent
4db5954786
commit
edc3e5bc30
5 changed files with 10 additions and 9 deletions
|
|
@ -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), follower_address: Pleroma.User.ap_followers(user) }
|
||||
%{ user | ap_id: Pleroma.User.ap_id(user), follower_address: Pleroma.User.ap_followers(user), following: [Pleroma.User.ap_id(user)] }
|
||||
end
|
||||
|
||||
def note_factory do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue