chore: increase test timeout and cleanup unused code
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Moritz 2026-01-25 13:39:20 +01:00
parent 8f3fd9d0d7
commit 86c8b23c77
Signed by: moritz
GPG key ID: 1020A035E5DD0824
2 changed files with 4 additions and 1 deletions

View file

@ -15,7 +15,7 @@ config :mv, Mv.Repo,
pool_size: System.schedulers_online() * 8,
queue_target: 5000,
queue_interval: 1000,
timeout: 30_000
timeout: 60_000
# We don't run a server during test. If one is required,
# you can enable the server option below.

View file

@ -33,6 +33,8 @@ defmodule MvWeb.UserLive.Form do
"""
use MvWeb, :live_view
require Jason
import MvWeb.LiveHelpers, only: [current_actor: 1, submit_form: 3]
@impl true
@ -325,6 +327,7 @@ defmodule MvWeb.UserLive.Form do
@impl true
def handle_event("save", %{"user" => user_params}, socket) do
actor = current_actor(socket)
# First save the user without member changes
case submit_form(socket.assigns.form, user_params, actor) do
{:ok, user} ->