Commit ccbf1620 authored by feld's avatar feld
Browse files

Actually test viewing status after ingestion

parent f0208980
Pipeline #35319 passed with stages
in 6 minutes
......@@ -407,6 +407,16 @@ test "hides application metadata when disabled" do
"status" => "club mate is my wingman"
})
assert %{"content" => "club mate is my wingman"} =
json_response_and_validate_schema(result, 200)
activity = result.assigns.activity.id
result =
conn
|> put_req_header("content-type", "application/json")
|> get("api/v1/statuses/#{activity}")
assert %{
"content" => "club mate is my wingman",
"application" => nil
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment