1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-19 03:19:17 +00:00

test: fix scrobble controller tests

This commit is contained in:
Ariadne Conill 2019-09-29 00:35:40 +00:00
parent e653edd182
commit 211008ae2f

View file

@ -26,7 +26,7 @@ test "works correctly", %{conn: conn} do
end
end
describe "GET /api/v1/pleroma/accounts/:id/now-playing" do
describe "GET /api/v1/pleroma/accounts/:id/scrobbles" do
test "works correctly", %{conn: conn} do
user = insert(:user)
@ -53,7 +53,7 @@ test "works correctly", %{conn: conn} do
conn =
conn
|> get("/api/v1/pleroma/accounts/#{user.id}/now-playing")
|> get("/api/v1/pleroma/accounts/#{user.id}/scrobbles")
result = json_response(conn, 200)