projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
don't crash on malformed avatar and banner values
[akkoma]
/
test
/
support
/
elasticsearch_mock.ex
1
defmodule Pleroma.ElasticsearchMock do
2
@behaviour Elasticsearch.API
3
4
@impl true
5
def request(_config, :get, "/posts/1", _data, _opts) do
6
{:ok,
7
%HTTPoison.Response{
8
status_code: 404,
9
body: %{
10
"status" => "not_found"
11
}
12
}}
13
end
14
end