Il sito funziona meglio con JavaScript.
Home
Esplora
lain.church
Aiuto
Registrati
Accedi
squeegily
/
pleroma
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
42
Wiki
Attività
Sfoglia il codice sorgente
Test for MastoAPI /api/v1/instance response structure (formatting fix).
tags/v1.1.4
Ivan Tashkinov
5 anni fa
parent
caf0e9cf33
commit
47b49ab1a1
1 ha cambiato i file
con
13 aggiunte
e
13 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+13
-13
test/web/mastodon_api/mastodon_api_controller_test.exs
+ 13
- 13
test/web/mastodon_api/mastodon_api_controller_test.exs
Vedi File
@@ -1813,19 +1813,19 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest 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
Write
Preview
Loading…
Annulla
Salva