projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'unique-app-id' into 'develop'
[akkoma]
/
test
/
web
/
mastodon_api
/
mastodon_api_test.exs
diff --git
a/test/web/mastodon_api/mastodon_api_test.exs
b/test/web/mastodon_api/mastodon_api_test.exs
index a7f9c5205f125ed418fb91b1dcf2ab6f3896b1ba..0c5a38bf649e0968b8861c98597f1e167b479af4 100644
(file)
--- a/
test/web/mastodon_api/mastodon_api_test.exs
+++ b/
test/web/mastodon_api/mastodon_api_test.exs
@@
-17,8
+17,7
@@
defmodule Pleroma.Web.MastodonAPI.MastodonAPITest do
test "returns error when followed user is deactivated" do
follower = insert(:user)
user = insert(:user, local: true, deactivated: true)
test "returns error when followed user is deactivated" do
follower = insert(:user)
user = insert(:user, local: true, deactivated: true)
- {:error, error} = MastodonAPI.follow(follower, user)
- assert error == "Could not follow user: #{user.nickname} is deactivated."
+ assert {:error, _error} = MastodonAPI.follow(follower, user)
end
test "following for user" do
end
test "following for user" do