projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'chores/bump-copyright' into 'develop'
[akkoma]
/
test
/
pleroma
/
web
/
activity_pub
/
transmogrifier
/
emoji_react_handling_test.exs
diff --git
a/test/pleroma/web/activity_pub/transmogrifier/emoji_react_handling_test.exs
b/test/pleroma/web/activity_pub/transmogrifier/emoji_react_handling_test.exs
index 0fb056b506e038009b3b982eacdee8bcdae9c702..20424ee82212dbf3e6a417c0aa87f170b7bb98de 100644
(file)
--- a/
test/pleroma/web/activity_pub/transmogrifier/emoji_react_handling_test.exs
+++ b/
test/pleroma/web/activity_pub/transmogrifier/emoji_react_handling_test.exs
@@
-1,9
+1,9
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.Transmogrifier.EmojiReactHandlingTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.Transmogrifier.EmojiReactHandlingTest do
- use Pleroma.DataCase
+ use Pleroma.DataCase
, async: true
alias Pleroma.Activity
alias Pleroma.Object
alias Pleroma.Activity
alias Pleroma.Object
@@
-19,7
+19,7
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier.EmojiReactHandlingTest do
data =
File.read!("test/fixtures/emoji-reaction.json")
data =
File.read!("test/fixtures/emoji-reaction.json")
- |>
Poi
son.decode!()
+ |>
Ja
son.decode!()
|> Map.put("object", activity.data["object"])
|> Map.put("actor", other_user.ap_id)
|> Map.put("object", activity.data["object"])
|> Map.put("actor", other_user.ap_id)
@@
-44,7
+44,7
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier.EmojiReactHandlingTest do
data =
File.read!("test/fixtures/emoji-reaction-too-long.json")
data =
File.read!("test/fixtures/emoji-reaction-too-long.json")
- |>
Poi
son.decode!()
+ |>
Ja
son.decode!()
|> Map.put("object", activity.data["object"])
|> Map.put("actor", other_user.ap_id)
|> Map.put("object", activity.data["object"])
|> Map.put("actor", other_user.ap_id)
@@
-52,7
+52,7
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier.EmojiReactHandlingTest do
data =
File.read!("test/fixtures/emoji-reaction-no-emoji.json")
data =
File.read!("test/fixtures/emoji-reaction-no-emoji.json")
- |>
Poi
son.decode!()
+ |>
Ja
son.decode!()
|> Map.put("object", activity.data["object"])
|> Map.put("actor", other_user.ap_id)
|> Map.put("object", activity.data["object"])
|> Map.put("actor", other_user.ap_id)