aboutsummaryrefslogtreecommitdiff
path: root/test/support
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-09-15 18:22:08 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-09-15 18:22:08 +0300
commite6f43a831bdd2a381ed4de493344886f312f9a38 (patch)
treea6d0614a5cfba0f9f28bfeff343158a7f658fbe2 /test/support
parentb63faf9819c2c49d2e9b63e7f37136eb03d8b4e8 (diff)
downloadpleroma-e6f43a831bdd2a381ed4de493344886f312f9a38.tar.gz
[#1234] Permissions-related fixes / new functionality (Masto 2.4.3 scopes).
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 719115003..c14c8ddb3 100644
--- a/test/support/factory.ex
+++ b/test/support/factory.ex
@@ -283,6 +283,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,