summaryrefslogtreecommitdiff
path: root/test/web/oauth
diff options
context:
space:
mode:
authorkaniini <nenolod@gmail.com>2019-02-14 03:55:26 +0000
committerkaniini <nenolod@gmail.com>2019-02-14 03:55:26 +0000
commit19756d68f2b341deac0b630b8e0d351b6ad4b38f (patch)
tree5aa7585c9c825f4a2908344905499d76b2864b66 /test/web/oauth
parent6652389e80b736fb64a8d08e2e5f50eb4de9c54b (diff)
parent74579115a73d697aed67abe2dc8ea1a664c89c5b (diff)
downloadpleroma-19756d68f2b341deac0b630b8e0d351b6ad4b38f.tar.gz
pleroma-19756d68f2b341deac0b630b8e0d351b6ad4b38f.zip
Merge branch 'fix/credo-issues-test' into 'develop'
Fix credo issues in ./test See merge request pleroma/pleroma!808
Diffstat (limited to 'test/web/oauth')
-rw-r--r--test/web/oauth/authorization_test.exs3
-rw-r--r--test/web/oauth/oauth_controller_test.exs3
-rw-r--r--test/web/oauth/token_test.exs4
3 files changed, 7 insertions, 3 deletions
diff --git a/test/web/oauth/authorization_test.exs b/test/web/oauth/authorization_test.exs
index 3b1ddada8..81618e935 100644
--- a/test/web/oauth/authorization_test.exs
+++ b/test/web/oauth/authorization_test.exs
@@ -4,7 +4,8 @@
defmodule Pleroma.Web.OAuth.AuthorizationTest do
use Pleroma.DataCase
- alias Pleroma.Web.OAuth.{Authorization, App}
+ alias Pleroma.Web.OAuth.Authorization
+ alias Pleroma.Web.OAuth.App
import Pleroma.Factory
test "create an authorization token for a valid app" do
diff --git a/test/web/oauth/oauth_controller_test.exs b/test/web/oauth/oauth_controller_test.exs
index e0d3cb55f..2315f9a34 100644
--- a/test/web/oauth/oauth_controller_test.exs
+++ b/test/web/oauth/oauth_controller_test.exs
@@ -7,7 +7,8 @@ defmodule Pleroma.Web.OAuth.OAuthControllerTest do
import Pleroma.Factory
alias Pleroma.Repo
- alias Pleroma.Web.OAuth.{Authorization, Token}
+ alias Pleroma.Web.OAuth.Authorization
+ alias Pleroma.Web.OAuth.Token
test "redirects with oauth authorization" do
user = insert(:user)
diff --git a/test/web/oauth/token_test.exs b/test/web/oauth/token_test.exs
index 9a241d61a..4dab4a308 100644
--- a/test/web/oauth/token_test.exs
+++ b/test/web/oauth/token_test.exs
@@ -4,7 +4,9 @@
defmodule Pleroma.Web.OAuth.TokenTest do
use Pleroma.DataCase
- alias Pleroma.Web.OAuth.{App, Token, Authorization}
+ alias Pleroma.Web.OAuth.App
+ alias Pleroma.Web.OAuth.Authorization
+ alias Pleroma.Web.OAuth.Token
alias Pleroma.Repo
import Pleroma.Factory