[#1560] Added tests for non-federating instance bahaviour to ActivityPubControllerTest.
This commit is contained in:
parent
99a6c660a9
commit
b4367125e9
4 changed files with 90 additions and 7 deletions
|
|
@ -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]}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue