return unquoted empty array from /api/qvitter/mutes.json

This commit is contained in:
Vivian Lim 2018-06-23 23:20:30 -07:00
commit 1299bccc7d
3 changed files with 6 additions and 2 deletions

View file

@ -506,7 +506,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|> get("/api/qvitter/mutes.json")
current_user = Repo.get(User, current_user.id)
assert "[]" = json_response(conn, 200)
assert [] = json_response(conn, 200)
end
end