summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2022-06-11 10:35:36 -0400
committerTusooa Zhu <tusooa@kazv.moe>2022-06-11 10:35:36 -0400
commit27f3d802f2fd6e9d002654993d8eedb92d120055 (patch)
tree2a4bd760dd4aa9aacbca159d037d847f4f39b8a7 /test
parentc3593639adfdd6f9e086aaab18bda5c83bcfcc8b (diff)
downloadpleroma-27f3d802f2fd6e9d002654993d8eedb92d120055.tar.gz
pleroma-27f3d802f2fd6e9d002654993d8eedb92d120055.zip
Expose history and source apis to anon users
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/mastodon_api/controllers/status_controller_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
index c077670ed..04f1c17db 100644
--- a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
+++ b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
@@ -1993,7 +1993,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
describe "get status history" do
setup do
- oauth_access(["read:statuses"])
+ %{conn: build_conn()}
end
test "unedited post", %{conn: conn} do
@@ -2039,7 +2039,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
describe "get status source" do
setup do
- oauth_access(["read:statuses"])
+ %{conn: build_conn()}
end
test "it returns the source", %{conn: conn} do