projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'feature/locked-accounts-part-1' into 'develop'
[akkoma]
/
test
/
web
/
common_api
/
common_api_test.exs
1
defmodule Pleroma.Web.CommonAPI.Test do
2
use Pleroma.DataCase
3
alias Pleroma.Web.CommonAPI
4
5
import Pleroma.Factory
6
7
test "it de-duplicates tags" do
8
user = insert(:user)
9
{:ok, activity} = CommonAPI.post(user, %{"status" => "#2hu #2HU"})
10
11
assert activity.data["object"]["tag"] == ["2hu"]
12
end
13
end