aboutsummaryrefslogtreecommitdiff
path: root/test/support
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2019-10-07 02:14:45 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2019-10-07 02:14:45 +0000
commitb4f3c16885a489c40de82e5ef321caafa4b10c81 (patch)
treee81e3d7ba6882b31bd18c221f872049af73e44f2 /test/support
parent25cffffaf1685ef02cd318bdbd99bb325d295458 (diff)
parentb93856874de673f1c05c557ad482d4480ca7e0a7 (diff)
downloadpleroma-b4f3c16885a489c40de82e5ef321caafa4b10c81.tar.gz
Merge branch '1234-mastodon-2-4-3-oauth-scopes' into 'develop'
[#1234] Mastodon 2.4.3 hierarchical OAuth scopes Closes #1234 See merge request pleroma/pleroma!1643
Diffstat (limited to 'test/support')
-rw-r--r--test/support/factory.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/support/factory.ex b/test/support/factory.ex
index 4f3244025..b180844cd 100644
--- a/test/support/factory.ex
+++ b/test/support/factory.ex
@@ -324,6 +324,7 @@ defmodule Pleroma.Factory do
%Pleroma.Web.OAuth.Token{
token: :crypto.strong_rand_bytes(32) |> Base.url_encode64(),
+ scopes: ["read"],
refresh_token: :crypto.strong_rand_bytes(32) |> Base.url_encode64(),
user: build(:user),
app_id: oauth_app.id,