projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Put rich media processing in a Task
[akkoma]
/
test
/
pleroma
/
web
/
mastodon_api
/
controllers
/
status_controller_test.exs
diff --git
a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
index d76db0c0dcd3c6f75a46ab3ad2df9f499c618ea4..7931d1d697c407026f365762b218f5587c30c129 100644
(file)
--- a/
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
+++ b/
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
@@
-326,7
+326,7
@@
defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
test "fake statuses' preview card is not cached", %{conn: conn} do
clear_config([:rich_media, :enabled], true)
- Tesla.Mock.mock(fn
+ Tesla.Mock.mock
_global
(fn
%{
method: :get,
url: "https://example.com/twitter-card"