[#1560] Added tests for non-federating instance bahaviour to ActivityPubControllerTest.

This commit is contained in:
Ivan Tashkinov 2020-03-02 21:43:18 +03:00
commit b4367125e9
4 changed files with 90 additions and 7 deletions

View file

@ -38,7 +38,7 @@ defmodule Pleroma.Plugs.OAuthPlugTest do
assert conn.assigns[:user] == opts[:user]
end
test "with valid token(downcase) in url parameters, it assings the user", opts do
test "with valid token(downcase) in url parameters, it assigns the user", opts do
conn =
:get
|> build_conn("/?access_token=#{opts[:token]}")