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
/
mastodon_api
/
controllers
/
account_controller_test.exs
diff --git
a/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs
b/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs
index 2f5bfda985faed8b07f278025aae4e583df7488b..1276597a4e911a6d6d55fc8960dfa9b50dac3161 100644
(file)
--- a/
test/pleroma/web/mastodon_api/controllers/account_controller_test.exs
+++ b/
test/pleroma/web/mastodon_api/controllers/account_controller_test.exs
@@
-126,7
+126,7
@@
defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do
end
test "returns 404 for deactivated user", %{conn: conn} do
end
test "returns 404 for deactivated user", %{conn: conn} do
- user = insert(:user,
deactivated: tru
e)
+ user = insert(:user,
is_active: fals
e)
assert %{"error" => "Can't find user"} =
conn
assert %{"error" => "Can't find user"} =
conn
@@
-256,7
+256,7
@@
defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do
end
test "deactivated user", %{conn: conn} do
end
test "deactivated user", %{conn: conn} do
- user = insert(:user,
deactivated: tru
e)
+ user = insert(:user,
is_active: fals
e)
assert %{"error" => "Can't find user"} ==
conn
assert %{"error" => "Can't find user"} ==
conn