projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update mogrify package
[akkoma]
/
test
/
web
/
activity_pub
/
transmogrifier
/
emoji_react_handling_test.exs
diff --git
a/test/web/activity_pub/transmogrifier/emoji_react_handling_test.exs
b/test/web/activity_pub/transmogrifier/emoji_react_handling_test.exs
index 6988e3e0a0c86906b1115f38541fba66742babff..0fb056b506e038009b3b982eacdee8bcdae9c702 100644
(file)
--- a/
test/web/activity_pub/transmogrifier/emoji_react_handling_test.exs
+++ b/
test/web/activity_pub/transmogrifier/emoji_react_handling_test.exs
@@
-15,7
+15,7
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier.EmojiReactHandlingTest do
test "it works for incoming emoji reactions" do
user = insert(:user)
other_user = insert(:user, local: false)
test "it works for incoming emoji reactions" do
user = insert(:user)
other_user = insert(:user, local: false)
- {:ok, activity} = CommonAPI.post(user, %{
"status" =>
"hello"})
+ {:ok, activity} = CommonAPI.post(user, %{
status:
"hello"})
data =
File.read!("test/fixtures/emoji-reaction.json")
data =
File.read!("test/fixtures/emoji-reaction.json")
@@
-40,7
+40,7
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier.EmojiReactHandlingTest do
test "it reject invalid emoji reactions" do
user = insert(:user)
other_user = insert(:user, local: false)
test "it reject invalid emoji reactions" do
user = insert(:user)
other_user = insert(:user, local: false)
- {:ok, activity} = CommonAPI.post(user, %{
"status" =>
"hello"})
+ {:ok, activity} = CommonAPI.post(user, %{
status:
"hello"})
data =
File.read!("test/fixtures/emoji-reaction-too-long.json")
data =
File.read!("test/fixtures/emoji-reaction-too-long.json")