fix: credo error
This commit is contained in:
parent
b4adf63e83
commit
9b314a9806
3 changed files with 1 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue