Statistics tests: strict first_join_year nil, fee_type_id in URL
This commit is contained in:
parent
4b61289f33
commit
3eead112b0
2 changed files with 35 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue