projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ab9255
)
Fix failing test
author
Aaron Tinio
<aptinio@gmail.com>
Tue, 21 May 2019 23:11:09 +0000
(07:11 +0800)
committer
Aaron Tinio
<aptinio@gmail.com>
Tue, 21 May 2019 23:16:11 +0000
(07:16 +0800)
test/web/admin_api/admin_api_controller_test.exs
patch
|
blob
|
history
diff --git
a/test/web/admin_api/admin_api_controller_test.exs
b/test/web/admin_api/admin_api_controller_test.exs
index ca12c72153931131f93c853128d95208a596a873..c15c67e313e4c4c25be4164fd64417377aa3a679 100644
(file)
--- a/
test/web/admin_api/admin_api_controller_test.exs
+++ b/
test/web/admin_api/admin_api_controller_test.exs
@@
-397,14
+397,14
@@
defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
end
end
- test "/api/pleroma/admin/invite_token" do
+ test "/api/pleroma/admin/
users/
invite_token" do
admin = insert(:user, info: %{is_admin: true})
conn =
build_conn()
|> assign(:user, admin)
|> put_req_header("accept", "application/json")
- |> get("/api/pleroma/admin/invite_token")
+ |> get("/api/pleroma/admin/
users/
invite_token")
assert conn.status == 200
end