From 850872a7476737439503f83da3d4e8a5b3df2474 Mon Sep 17 00:00:00 2001 From: Kayla Firestack Date: Mon, 21 Oct 2024 13:19:34 -0400 Subject: [PATCH] fix(ex/test/conn-case): remove redundant `User.upsert`'s --- test/support/conn_case.ex | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/support/conn_case.ex b/test/support/conn_case.ex index c52a382b5..c6928ac83 100644 --- a/test/support/conn_case.ex +++ b/test/support/conn_case.ex @@ -45,8 +45,6 @@ defmodule SkateWeb.ConnCase do {conn, user} = cond do tags[:authenticated] -> - User.upsert(username, email) - conn = Phoenix.ConnTest.build_conn() |> init_test_session(%{}) @@ -55,8 +53,6 @@ defmodule SkateWeb.ConnCase do {conn, user} tags[:authenticated_admin] -> - User.upsert(username, email) - conn = Phoenix.ConnTest.build_conn() |> init_test_session(%{}) @@ -67,8 +63,6 @@ defmodule SkateWeb.ConnCase do {conn, user} tags[:authenticated_dispatcher] -> - User.upsert(username, email) - conn = Phoenix.ConnTest.build_conn() |> init_test_session(%{})