Route the delivery tests' gorm.Open through gormlog (closes #462) #466

Merged
clawbot merged 1 commits from issue-462-test-gorm-logger into next 2026-10-02 20:20:49 +02:00
1 Commits
Author SHA1 Message Date
clawbot 1711a53221 Route the delivery tests' gorm.Open through gormlog (closes #462)
check / check (push) Waiting to run
The six gorm.Open calls in the internal/delivery tests passed a bare
gorm.Config, which installs GORM's default logger; they now pass
gormlog.New over a logger that discards, as every production call does,
so the unfiltered form is no longer in the tree to be copied.

The README and the ParamsFilter comment said (*gorm.DB).Scan had one
test-only caller; there are more. Both now say only tests call it, with
fixture data.

Model: opus-5-5
2026-10-02 17:46:44 +00:00