From b2171d75dbc95d7c1221f3ae30d5775df2f0839d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Arteiro?= Date: Fri, 11 Nov 2022 17:20:47 +0000 Subject: [PATCH] fix: Fixing auth test. #195 --- test/app_web/live/app_live_test.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/app_web/live/app_live_test.exs b/test/app_web/live/app_live_test.exs index b0e49db2..d853f060 100644 --- a/test/app_web/live/app_live_test.exs +++ b/test/app_web/live/app_live_test.exs @@ -574,8 +574,8 @@ defmodule AppWeb.AppLiveTest do test "test login link redirect to auth.dwyl.com", %{conn: conn} do conn = get(conn, "/login") - assert redirected_to(conn, 302) =~ - "https://dwylauth.herokuapp.com?referer=https://www.example.com/&auth_client_id=88SwQGzxQEvo6S9Pu7FZGp9btNo52rVkwtrhyub9i6K6UxVqho9A" + assert redirected_to(conn, 302) =~ "auth.dwyl.com" + end test "tags_to_string/1" do