diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-09-15 18:22:08 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-09-15 18:22:08 +0300 |
commit | e6f43a831bdd2a381ed4de493344886f312f9a38 (patch) | |
tree | a6d0614a5cfba0f9f28bfeff343158a7f658fbe2 /test/support | |
parent | b63faf9819c2c49d2e9b63e7f37136eb03d8b4e8 (diff) | |
download | pleroma-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.ex | 1 |
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, |