projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moderators: reorganize :admin_api pipeline in Router
[akkoma]
/
test
/
pleroma
/
web
/
admin_api
/
controllers
/
report_controller_test.exs
diff --git
a/test/pleroma/web/admin_api/controllers/report_controller_test.exs
b/test/pleroma/web/admin_api/controllers/report_controller_test.exs
index cbfc2e7b0655b22e4f86b58b334d4f3ab26d33f4..8102845d57a8ee61d038016c2f251bdafb3182dc 100644
(file)
--- a/
test/pleroma/web/admin_api/controllers/report_controller_test.exs
+++ b/
test/pleroma/web/admin_api/controllers/report_controller_test.exs
@@
-1,9
+1,9
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.AdminAPI.ReportControllerTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.AdminAPI.ReportControllerTest do
- use Pleroma.Web.ConnCase
+ use Pleroma.Web.ConnCase
, async: true
import Pleroma.Factory
import Pleroma.Factory
@@
-305,7
+305,7
@@
defmodule Pleroma.Web.AdminAPI.ReportControllerTest do
|> get("/api/pleroma/admin/reports")
assert json_response(conn, :forbidden) ==
|> get("/api/pleroma/admin/reports")
assert json_response(conn, :forbidden) ==
- %{"error" => "User is not a
n admin
."}
+ %{"error" => "User is not a
staff member
."}
end
test "returns 403 when requested by anonymous" do
end
test "returns 403 when requested by anonymous" do