summaryrefslogtreecommitdiff
path: root/test/web/oauth/token_test.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-02-14 00:29:29 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-02-14 00:29:29 +0300
commit063baca5e4f3a100c0d45dffb14e4968599ef43b (patch)
tree007c44ff7cd2c90b2e1c18d7ced704448fea5601 /test/web/oauth/token_test.exs
parenta337bd114c3cbbb8e8270ec56a012e82f84df808 (diff)
downloadpleroma-063baca5e4f3a100c0d45dffb14e4968599ef43b.tar.gz
pleroma-063baca5e4f3a100c0d45dffb14e4968599ef43b.zip
[#468] User UI for OAuth permissions restriction. Standardized storage format for `scopes` fields, updated usages.
Diffstat (limited to 'test/web/oauth/token_test.exs')
-rw-r--r--test/web/oauth/token_test.exs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/web/oauth/token_test.exs b/test/web/oauth/token_test.exs
index 9a241d61a..63a7eb3ae 100644
--- a/test/web/oauth/token_test.exs
+++ b/test/web/oauth/token_test.exs
@@ -14,7 +14,7 @@ defmodule Pleroma.Web.OAuth.TokenTest do
Repo.insert(
App.register_changeset(%App{}, %{
client_name: "client",
- scopes: "scope",
+ scopes: ["scope"],
redirect_uris: "url"
})
)
@@ -39,7 +39,7 @@ defmodule Pleroma.Web.OAuth.TokenTest do
Repo.insert(
App.register_changeset(%App{}, %{
client_name: "client1",
- scopes: "scope",
+ scopes: ["scope"],
redirect_uris: "url"
})
)
@@ -48,7 +48,7 @@ defmodule Pleroma.Web.OAuth.TokenTest do
Repo.insert(
App.register_changeset(%App{}, %{
client_name: "client2",
- scopes: "scope",
+ scopes: ["scope"],
redirect_uris: "url"
})
)