parent
573134ac6c
commit
dfc21dc124
5 changed files with 5 additions and 16 deletions
|
|
@ -16,11 +16,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.ForceMentionsInContentTest do
|
|||
|
||||
test "adds mentions to post content" do
|
||||
[lain, coolboymew, dielan, hakui, fence] = [
|
||||
insert(:user,
|
||||
ap_id: "https://lain.com/users/lain",
|
||||
nickname: "lain@lain.com",
|
||||
local: false
|
||||
),
|
||||
insert(:user, ap_id: "https://lain.com/users/lain", nickname: "lain@lain.com", local: false),
|
||||
insert(:user,
|
||||
ap_id: "https://shitposter.club/users/coolboymew",
|
||||
nickname: "coolboymew@shitposter.club",
|
||||
|
|
|
|||
|
|
@ -62,8 +62,7 @@ defmodule Pleroma.Web.OAuth.TokenControllerTest do
|
|||
|> hd()
|
||||
|> Map.keys()
|
||||
|
||||
assert Enum.sort(keys) ==
|
||||
Enum.sort(["id", "app_name", "valid_until", "scopes", "is_current_token"])
|
||||
assert Enum.sort(keys) == Enum.sort(["id", "app_name", "valid_until", "scopes", "is_current_token"])
|
||||
end
|
||||
|
||||
test "marks which token is being used for the request" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue