Compare commits

..

1 commit

Author SHA1 Message Date
a2dfdccef3
CSV export: robust apply_export_filters, single custom_field_ids_union, string boolean_filters, more tests
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing
2026-03-04 21:02:01 +01:00

View file

@ -187,7 +187,7 @@ defmodule MvWeb.MemberExportControllerTest do
assert get_resp_header(conn, "content-type") |> List.first() =~ "text/csv" assert get_resp_header(conn, "content-type") |> List.first() =~ "text/csv"
body = response(conn, 200) body = response(conn, 200)
lines = export_lines(body) lines = export_lines(body)
assert length(lines) >= 1 assert lines != []
assert hd(lines) =~ "First Name" assert hd(lines) =~ "First Name"
end end
@ -740,7 +740,7 @@ defmodule MvWeb.MemberExportControllerTest do
assert get_resp_header(conn, "content-type") |> List.first() =~ "text/csv" assert get_resp_header(conn, "content-type") |> List.first() =~ "text/csv"
body = response(conn, 200) body = response(conn, 200)
lines = export_lines(body) lines = export_lines(body)
assert length(lines) >= 1 assert lines != []
assert hd(lines) =~ "First Name" assert hd(lines) =~ "First Name"
end end
end end