fix: credo error
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
Simon 2026-01-29 15:26:45 +01:00
parent b4adf63e83
commit 9b314a9806
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
3 changed files with 1 additions and 14 deletions

View file

@ -256,11 +256,6 @@ defmodule MvWeb.GroupLive.ShowTest do
assert html =~ member.first_name or html =~ member.last_name
end)
# Log actual query count for monitoring
IO.puts(
"\n[PERF] GroupLive.Show 'member list is loaded efficiently': #{final_count} queries"
)
# Verify query count is reasonable (should avoid N+1 queries)
# Expected: 1 query for group lookup + 1 query for members (with preload) + member_count aggregate
# Allow overhead for authorization, LiveView setup, and other initialization queries