Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
f85ed1c5
Verified
Commit
f85ed1c5
authored
Feb 28, 2021
by
Alexander Strizhakov
Browse files
warning fix
parent
6a71aa53
Pipeline
#35247
passed with stages
in 11 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
View file @
f85ed1c5
...
...
@@ -364,8 +364,8 @@ test "discloses application metadata when enabled" do
%
Pleroma
.
Web
.
OAuth
.
Token
{
app:
%
Pleroma
.
Web
.
OAuth
.
App
{
client_name:
_
app_name
,
website:
_
app_website
client_name:
app_name
,
website:
app_website
}
}
=
token
...
...
@@ -379,8 +379,8 @@ test "discloses application metadata when enabled" do
assert
%{
"content"
=>
"cofe is my copilot"
,
"application"
=>
%{
"name"
=>
app_name
,
"website"
=>
app_website
"name"
=>
^
app_name
,
"website"
=>
^
app_website
}
}
=
json_response_and_validate_schema
(
result
,
200
)
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment