refactoring
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
carla 2026-02-02 16:52:35 +01:00
parent aef3aa299f
commit 960506d16a
6 changed files with 57 additions and 31 deletions

View file

@ -1,14 +0,0 @@
defmodule Mv.ConfigTest do
@moduledoc """
Tests for Mv.Config module.
"""
use ExUnit.Case, async: false
alias Mv.Config
# Note: CSV import configuration functions were never implemented.
# The codebase uses hardcoded constants instead:
# - @max_file_size_bytes 10_485_760 in GlobalSettingsLive
# - @default_max_rows 1000 in MemberCSV
# These tests have been removed as they tested non-existent functions.
end

View file

@ -10,7 +10,7 @@ defmodule MvWeb.GlobalSettingsLiveConfigTest do
import Phoenix.LiveViewTest
# Helper function to upload CSV file in tests
defp upload_csv_file(view, csv_content, filename \\ "test_import.csv") do
defp upload_csv_file(view, csv_content, filename) do
view
|> file_input("#csv-upload-form", :csv_file, [
%{