This website works better with JavaScript.
首頁
探索
lain.church
說明
註冊
登入
squeegily
/
pleroma
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
42
Wiki
Activity
瀏覽代碼
Test for MastoAPI /api/v1/instance response structure (formatting fix).
tags/v1.1.4
Ivan Tashkinov
5 年之前
父節點
caf0e9cf33
當前提交
47b49ab1a1
共有
1 個文件被更改
,包括
13 次插入
和
13 次删除
分割檢視
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
查看文件
@@ -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…
取消
儲存