projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Manually define PATH for Arch Linux users in systemd unit
[akkoma]
/
test
/
pleroma
/
web
/
activity_pub
/
transmogrifier
/
question_handling_test.exs
diff --git
a/test/pleroma/web/activity_pub/transmogrifier/question_handling_test.exs
b/test/pleroma/web/activity_pub/transmogrifier/question_handling_test.exs
index ae470f984cd9336403dd173ed6528237b5ca5183..54cbb9c6526225604a5b9d331c083f1c6e2480d7 100644
(file)
--- a/
test/pleroma/web/activity_pub/transmogrifier/question_handling_test.exs
+++ b/
test/pleroma/web/activity_pub/transmogrifier/question_handling_test.exs
@@
-1,5
+1,5
@@
# 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.QuestionHandlingTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.Transmogrifier.QuestionHandlingTest do
@@
-33,8
+33,6
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier.QuestionHandlingTest do
assert object.data["context"] ==
"tag:mastodon.sdf.org,2019-05-10:objectId=15095122:objectType=Conversation"
assert object.data["context"] ==
"tag:mastodon.sdf.org,2019-05-10:objectId=15095122:objectType=Conversation"
- assert object.data["context_id"]
-
assert object.data["anyOf"] == []
assert Enum.sort(object.data["oneOf"]) ==
assert object.data["anyOf"] == []
assert Enum.sort(object.data["oneOf"]) ==
@@
-68,7
+66,6
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier.QuestionHandlingTest do
reply_object = Object.normalize(reply_activity, fetch: false)
assert reply_object.data["context"] == object.data["context"]
reply_object = Object.normalize(reply_activity, fetch: false)
assert reply_object.data["context"] == object.data["context"]
- assert reply_object.data["context_id"] == object.data["context_id"]
end
test "Mastodon Question activity with HTML tags in plaintext" do
end
test "Mastodon Question activity with HTML tags in plaintext" do