fixup test
This commit is contained in:
parent
1555c66650
commit
fc15f30a3c
|
@ -585,7 +585,7 @@ test "with credentials", %{conn: conn, user: current_user} do
|
|||
|
||||
test "without valid credentials", %{conn: conn} do
|
||||
note_activity = insert(:note_activity)
|
||||
conn = post(conn, "/api/statuses/retweet/#{note_activity.id}.json")
|
||||
conn = post(conn, "/api/statuses/unretweet/#{note_activity.id}.json")
|
||||
assert json_response(conn, 403) == %{"error" => "Invalid credentials."}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue