projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Access-Control-Allow-Origin
[akkoma]
/
test
/
support
/
factory.ex
diff --git
a/test/support/factory.ex
b/test/support/factory.ex
index dabb951415ff1bc882ad3c350c16f707e370ad29..7f378915ed93c76ba525de0c8149e8e494cd53a6 100644
(file)
--- a/
test/support/factory.ex
+++ b/
test/support/factory.ex
@@
-9,7
+9,7
@@
defmodule Pleroma.Factory do
password_hash: Comeonin.Pbkdf2.hashpwsalt("test"),
bio: sequence(:bio, &"Tester Number #{&1}")
}
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
end
def note_factory do
@@
-51,7
+51,8
@@
defmodule Pleroma.Factory do
}
%Pleroma.Activity{
}
%Pleroma.Activity{
- data: data
+ data: data,
+ actor: data["actor"]
}
end
}
end