소스 검색

Use correct URL for tests

tags/v1.1.4
Sadposter 5 년 전
부모
커밋
7026018c8c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      test/web/mastodon_api/mastodon_api_controller_test.exs

+ 2
- 2
test/web/mastodon_api/mastodon_api_controller_test.exs 파일 보기

@@ -3794,7 +3794,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
response =
conn
|> assign(:user, nil)
|> get("/api/v1/#{activity.id}/favourited_by")
|> get("/api/v1/statuses/#{activity.id}/favourited_by")
|> json_response(:ok)

[%{"id" => id}] = response
@@ -3865,7 +3865,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
response =
conn
|> assign(:user, nil)
|> get("/api/v1/#{activity.id}/reblogged_by")
|> get("/api/v1/statuses/#{activity.id}/reblogged_by")
|> json_response(:ok)

[%{"id" => id}] = response


불러오는 중...
취소
저장