Statistics tests: strict first_join_year nil, fee_type_id in URL

This commit is contained in:
Moritz 2026-02-12 18:44:46 +01:00 committed by moritz
parent 4b61289f33
commit 3eead112b0
2 changed files with 35 additions and 2 deletions

View file

@ -46,9 +46,9 @@ defmodule Mv.StatisticsTest do
end
test "returns nil when no members exist", %{actor: actor} do
# Relies on empty member table for this test; may be nil if other tests created members
# Expects empty member table (sandbox isolation). If flaky, ensure no other test creates members.
result = Statistics.first_join_year(actor: actor)
assert result == nil or is_integer(result)
assert result == nil
end
end