Test for MastoAPI /api/v1/instance response structure (formatting fix).

This commit is contained in:
Ivan Tashkinov 2019-03-26 18:18:36 +03:00
parent caf0e9cf33
commit 47b49ab1a1
1 changed files with 13 additions and 13 deletions

View File

@ -1813,19 +1813,19 @@ test "get instance information", %{conn: conn} do
# Note: not checking for "max_toot_chars" since it's optional
assert %{
"uri" => _,
"title" => _,
"description" => _,
"version" => _,
"email" => _,
"urls" => %{
"streaming_api" => _
},
"stats" => _,
"thumbnail" => _,
"languages" => _,
"registrations" => _
} = result
"uri" => _,
"title" => _,
"description" => _,
"version" => _,
"email" => _,
"urls" => %{
"streaming_api" => _
},
"stats" => _,
"thumbnail" => _,
"languages" => _,
"registrations" => _
} = result
end
test "get instance stats", %{conn: conn} do