Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85197836
manifest_controller_test.exs
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
547 B
Referenced Files
None
Subscribers
None
manifest_controller_test.exs
View Options
# Pleroma: A lightweight social networking server
# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma.Web.ManifestControllerTest
do
use
Pleroma.Web.ConnCase
setup
do
clear_config
([
:instance
,
:name
],
"Manifest Test"
)
clear_config
([
:manifest
,
:theme_color
],
"
#
ff0000"
)
end
test
"manifest.json"
,
%{
conn
:
conn
}
do
conn
=
get
(
conn
,
"/manifest.json"
)
assert
%{
"name"
=>
"Manifest Test"
,
"theme_color"
=>
"
#
ff0000"
}
=
json_response
(
conn
,
200
)
end
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jun 29, 9:36 AM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1633967
Default Alt Text
manifest_controller_test.exs (547 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment