projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
510776b
)
StatusControllerTest: Fix typo
author
lain
<lain@soykaf.club>
Mon, 20 Jan 2020 14:31:14 +0000
(15:31 +0100)
committer
lain
<lain@soykaf.club>
Mon, 20 Jan 2020 14:31:14 +0000
(15:31 +0100)
test/web/mastodon_api/controllers/status_controller_test.exs
patch
|
blob
|
history
diff --git
a/test/web/mastodon_api/controllers/status_controller_test.exs
b/test/web/mastodon_api/controllers/status_controller_test.exs
index 0b75fcc9193637c599d61c36110624ff639af048..b03b4b344904ab42904052b47eef3ebd590996ca 100644
(file)
--- a/
test/web/mastodon_api/controllers/status_controller_test.exs
+++ b/
test/web/mastodon_api/controllers/status_controller_test.exs
@@
-642,7
+642,7
@@
defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
activity = insert(:note_activity)
post(conn, "/api/v1/statuses/#{activity.id}/favourite")
- assert post(conn, "/api/v
2
/statuses/#{activity.id}/favourite") |> json_response(200)
+ assert post(conn, "/api/v
1
/statuses/#{activity.id}/favourite") |> json_response(200)
end
test "returns 400 error for a wrong id", %{conn: conn} do