Fix compatibility with Elixir v1.10

このコミットが含まれているのは:
Egor Kislitsyn 2020-01-28 18:23:59 +04:00
コミット 2ddd1bb088
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 1B49CB15B71E7805
3個のファイルの変更2行の追加3行の削除

ファイルの表示

@ -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

ファイルの表示

@ -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

ファイルの表示

@ -7,7 +7,6 @@ defmodule Pleroma.Web.MastodonAPI.SuggestionControllerTest do
alias Pleroma.Config
import ExUnit.CaptureLog
import Pleroma.Factory
import Tesla.Mock