forked from AkkomaGang/akkoma
StatusControllerTest: Fix typo
This commit is contained in:
parent
510776ba31
commit
2199d63ddc
1 changed files with 1 additions and 1 deletions
|
@ -642,7 +642,7 @@ test "favoriting twice will just return 200", %{conn: conn} do
|
||||||
activity = insert(:note_activity)
|
activity = insert(:note_activity)
|
||||||
|
|
||||||
post(conn, "/api/v1/statuses/#{activity.id}/favourite")
|
post(conn, "/api/v1/statuses/#{activity.id}/favourite")
|
||||||
assert post(conn, "/api/v2/statuses/#{activity.id}/favourite") |> json_response(200)
|
assert post(conn, "/api/v1/statuses/#{activity.id}/favourite") |> json_response(200)
|
||||||
end
|
end
|
||||||
|
|
||||||
test "returns 400 error for a wrong id", %{conn: conn} do
|
test "returns 400 error for a wrong id", %{conn: conn} do
|
||||||
|
|
Loading…
Reference in a new issue