소스 검색

Fix compatibility with Elixir v1.10

revert/attachment-cleanup
Egor Kislitsyn 4 년 전
부모
커밋
2ddd1bb088
No known key found for this signature in database GPG 키 ID: 1B49CB15B71E7805
3개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. +1
    -1
      test/runtime_test.exs
  2. +1
    -1
      test/support/http_request_mock.ex
  3. +0
    -1
      test/web/mastodon_api/controllers/suggestion_controller_test.exs

+ 1
- 1
test/runtime_test.exs 파일 보기

@@ -6,6 +6,6 @@ defmodule Pleroma.RuntimeTest do
use ExUnit.Case, async: true

test "it loads custom runtime modules" do
assert Code.ensure_compiled?(RuntimeModule)
assert {:module, RuntimeModule} == Code.ensure_compiled(RuntimeModule)
end
end

+ 1
- 1
test/support/http_request_mock.ex 파일 보기

@@ -19,7 +19,7 @@ defmodule HttpRequestMock do
else
error ->
with {:error, message} <- error do
Logger.warn(message)
Logger.warn(to_string(message))
end

{_, _r} = error


+ 0
- 1
test/web/mastodon_api/controllers/suggestion_controller_test.exs 파일 보기

@@ -7,7 +7,6 @@ defmodule Pleroma.Web.MastodonAPI.SuggestionControllerTest do

alias Pleroma.Config

import ExUnit.CaptureLog
import Pleroma.Factory
import Tesla.Mock



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