projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'origin' into follower-hiding
[akkoma]
/
test
/
formatter_test.exs
diff --git
a/test/formatter_test.exs
b/test/formatter_test.exs
index e4da84c101ad9bc7d7ae9dba3c055405bf81662f..5d745510f083b2d2b2a1103d0caeebebfcb8e1af 100644
(file)
--- a/
test/formatter_test.exs
+++ b/
test/formatter_test.exs
@@
-5,6
+5,11
@@
defmodule Pleroma.FormatterTest do
import Pleroma.Factory
+ setup_all do
+ Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end)
+ :ok
+ end
+
describe ".add_hashtag_links" do
test "turns hashtags into links" do
text = "I love #cofe and #2hu"