Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F41667551
elasticsearch_mock.ex
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
279 B
Referenced Files
None
Subscribers
None
elasticsearch_mock.ex
View Options
defmodule
Pleroma.ElasticsearchMock
do
@behaviour
Elasticsearch.API
@impl
true
def
request
(
_config
,
:get
,
"/posts/1"
,
_data
,
_opts
)
do
{
:ok
,
%
HTTPoison.Response
{
status_code
:
404
,
body
:
%{
"status"
=>
"not_found"
}
}}
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Sun, Feb 15, 5:48 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1047451
Default Alt Text
elasticsearch_mock.ex (279 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment