projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
v2 Suggestions: actually flter out dismissed suggestions
[akkoma]
/
test
/
pleroma
/
object
/
fetcher_test.exs
diff --git
a/test/pleroma/object/fetcher_test.exs
b/test/pleroma/object/fetcher_test.exs
index a7ac9034864306f90c9be702a2ac6b43179ff583..bd0a6e497617bad3933654326b0017116d3edac7 100644
(file)
--- a/
test/pleroma/object/fetcher_test.exs
+++ b/
test/pleroma/object/fetcher_test.exs
@@
-66,6
+66,14
@@
defmodule Pleroma.Object.FetcherTest do
%Tesla.Env{
status: 500
}
%Tesla.Env{
status: 500
}
+
+ %{
+ method: :get,
+ url: "https://stereophonic.space/objects/02997b83-3ea7-4b63-94af-ef3aa2d4ed17"
+ } ->
+ %Tesla.Env{
+ status: 500
+ }
end)
:ok
end)
:ok
@@
-124,8
+132,7
@@
defmodule Pleroma.Object.FetcherTest do
{:ok, object} =
Fetcher.fetch_object_from_id("http://mastodon.example.org/@admin/99541947525187367")
{:ok, object} =
Fetcher.fetch_object_from_id("http://mastodon.example.org/@admin/99541947525187367")
- assert activity = Activity.get_create_by_object_ap_id(object.data["id"])
- assert activity.data["id"]
+ assert _activity = Activity.get_create_by_object_ap_id(object.data["id"])
{:ok, object_again} =
Fetcher.fetch_object_from_id("http://mastodon.example.org/@admin/99541947525187367")
{:ok, object_again} =
Fetcher.fetch_object_from_id("http://mastodon.example.org/@admin/99541947525187367")