diff options
author | kaniini <nenolod@gmail.com> | 2018-12-12 07:28:47 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2018-12-12 07:28:47 +0000 |
commit | 2592b3c81a5af20536c3cc9709e3971d6cfb1e68 (patch) | |
tree | 89fba8fe2ed33bb25ef554f67e4659e255f81709 /test/web/oauth | |
parent | 2999a08e3590c43c623730b0cbf6b93045ac08c1 (diff) | |
parent | 89b3729afa130a62a47ed6372350ebfc5acb4064 (diff) | |
download | pleroma-2592b3c81a5af20536c3cc9709e3971d6cfb1e68.tar.gz |
Merge branch 'support/issue_442' into 'develop'
[#442] fix warnings
See merge request pleroma/pleroma!536
Diffstat (limited to 'test/web/oauth')
-rw-r--r-- | test/web/oauth/authorization_test.exs | 2 | ||||
-rw-r--r-- | test/web/oauth/token_test.exs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/web/oauth/authorization_test.exs b/test/web/oauth/authorization_test.exs index 98c7c4133..2b7fb2fad 100644 --- a/test/web/oauth/authorization_test.exs +++ b/test/web/oauth/authorization_test.exs @@ -71,7 +71,7 @@ defmodule Pleroma.Web.OAuth.AuthorizationTest do {:ok, auth} = Authorization.create_authorization(app, user) {:ok, auth} = Authorization.use_token(auth) - {auths, _} = Authorization.delete_user_authorizations(user) + Authorization.delete_user_authorizations(user) {_, invalid} = Authorization.use_token(auth) diff --git a/test/web/oauth/token_test.exs b/test/web/oauth/token_test.exs index f926ff50b..e36ca5abc 100644 --- a/test/web/oauth/token_test.exs +++ b/test/web/oauth/token_test.exs @@ -54,8 +54,8 @@ defmodule Pleroma.Web.OAuth.TokenTest do {:ok, auth1} = Authorization.create_authorization(app1, user) {:ok, auth2} = Authorization.create_authorization(app2, user) - {:ok, token1} = Token.exchange_token(app1, auth1) - {:ok, token2} = Token.exchange_token(app2, auth2) + {:ok, _token1} = Token.exchange_token(app1, auth1) + {:ok, _token2} = Token.exchange_token(app2, auth2) {tokens, _} = Token.delete_user_tokens(user) |