projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Conversations: Return last dm for conversation, not last message.
[akkoma]
/
test
/
web
/
federator_test.exs
diff --git
a/test/web/federator_test.exs
b/test/web/federator_test.exs
index 261518ef03fa58c92570ca05d86f3570d1b7f6f8..de90aa6e055af94b277cb8eded78a590c3104e47 100644
(file)
--- a/
test/web/federator_test.exs
+++ b/
test/web/federator_test.exs
@@
-29,7
+29,7
@@
defmodule Pleroma.Web.FederatorTest do
describe "Publish an activity" do
setup do
user = insert(:user)
describe "Publish an activity" do
setup do
user = insert(:user)
- {:ok, activity} = CommonAPI.post(user, %{
"status" =>
"HI"})
+ {:ok, activity} = CommonAPI.post(user, %{
status:
"HI"})
relay_mock = {
Pleroma.Web.ActivityPub.Relay,
relay_mock = {
Pleroma.Web.ActivityPub.Relay,
@@
-96,7
+96,7
@@
defmodule Pleroma.Web.FederatorTest do
Instances.set_consistently_unreachable(URI.parse(inbox2).host)
{:ok, _activity} =
Instances.set_consistently_unreachable(URI.parse(inbox2).host)
{:ok, _activity} =
- CommonAPI.post(user, %{
"status" =>
"HI @nick1@domain.com, @nick2@domain2.com!"})
+ CommonAPI.post(user, %{
status:
"HI @nick1@domain.com, @nick2@domain2.com!"})
expected_dt = NaiveDateTime.to_iso8601(dt)
expected_dt = NaiveDateTime.to_iso8601(dt)