all tests passed

This commit is contained in:
Maksim Pechnikov 2018-12-04 16:39:08 +03:00
commit 5c6d47614d
3 changed files with 29 additions and 10 deletions

View file

@ -5,6 +5,11 @@ defmodule Pleroma.Web.FederatorTest do
import Pleroma.Factory
import Mock
setup_all do
Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end)
:ok
end
test "enqueues an element according to priority" do
queue = [%{item: 1, priority: 2}]