projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#3213] ActivityPub: implemented subqueries-based hashtags filtering, removed aggrega...
[akkoma]
/
test
/
pleroma
/
web
/
common_api_test.exs
diff --git
a/test/pleroma/web/common_api_test.exs
b/test/pleroma/web/common_api_test.exs
index 7067f1b59092ac9a840bf28be2331fce74a3afca..76a8e333fe842265255e0b951df233928da96efc 100644
(file)
--- a/
test/pleroma/web/common_api_test.exs
+++ b/
test/pleroma/web/common_api_test.exs
@@
-493,7
+493,7
@@
defmodule Pleroma.Web.CommonAPITest do
object = Object.normalize(activity, fetch: false)
object = Object.normalize(activity, fetch: false)
- assert
object.data["tag"]
== ["2hu"]
+ assert
Object.tags(object)
== ["2hu"]
end
test "it adds emoji in the object" do
end
test "it adds emoji in the object" do
@@
-518,7
+518,7
@@
defmodule Pleroma.Web.CommonAPITest do
end
test "deactivated users can't post" do
end
test "deactivated users can't post" do
- user = insert(:user,
deactivated: tru
e)
+ user = insert(:user,
is_active: fals
e)
assert {:error, _} = CommonAPI.post(user, %{status: "ye"})
end
assert {:error, _} = CommonAPI.post(user, %{status: "ye"})
end