diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-01-12 12:12:15 -0600 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-01-12 12:12:15 -0600 |
commit | 2f5b8fbeb3830759c00675f99d893a92b1d3edb2 (patch) | |
tree | ee7ba90fa0b52e31cc7beeb9335deefbadd94e15 /test/web/oauth/oauth_controller_test.exs | |
parent | 933dc120438d14502e4bc4c29db904114fb6e438 (diff) | |
parent | ecb8fe183c5a007e80d7b2b1bfc9ead89dc27cc2 (diff) | |
download | pleroma-2f5b8fbeb3830759c00675f99d893a92b1d3edb2.tar.gz pleroma-2f5b8fbeb3830759c00675f99d893a92b1d3edb2.zip |
Merge branch 'develop' into issue/1354
Diffstat (limited to 'test/web/oauth/oauth_controller_test.exs')
-rw-r--r-- | test/web/oauth/oauth_controller_test.exs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/web/oauth/oauth_controller_test.exs b/test/web/oauth/oauth_controller_test.exs index 901f2ae41..9cc534f57 100644 --- a/test/web/oauth/oauth_controller_test.exs +++ b/test/web/oauth/oauth_controller_test.exs @@ -450,7 +450,7 @@ defmodule Pleroma.Web.OAuth.OAuthControllerTest do test "renders authentication page if user is already authenticated but `force_login` is tru-ish", %{app: app, conn: conn} do - token = insert(:oauth_token, app_id: app.id) + token = insert(:oauth_token, app: app) conn = conn @@ -474,7 +474,7 @@ defmodule Pleroma.Web.OAuth.OAuthControllerTest do app: app, conn: conn } do - token = insert(:oauth_token, app_id: app.id) + token = insert(:oauth_token, app: app) conn = conn @@ -497,7 +497,7 @@ defmodule Pleroma.Web.OAuth.OAuthControllerTest do app: app, conn: conn } do - token = insert(:oauth_token, app_id: app.id) + token = insert(:oauth_token, app: app) conn = conn @@ -523,7 +523,7 @@ defmodule Pleroma.Web.OAuth.OAuthControllerTest do conn: conn } do unlisted_redirect_uri = "http://cross-site-request.com" - token = insert(:oauth_token, app_id: app.id) + token = insert(:oauth_token, app: app) conn = conn @@ -547,7 +547,7 @@ defmodule Pleroma.Web.OAuth.OAuthControllerTest do app: app, conn: conn } do - token = insert(:oauth_token, app_id: app.id) + token = insert(:oauth_token, app: app) conn = conn |