Clear the environment in the cmd/webhooker tests that build a Config (closes #452) #453

Merged
clawbot merged 1 commits from issue-452-clear-env-in-tests into next 2026-10-02 18:03:32 +02:00
1 Commits
Author SHA1 Message Date
sneak 47cc3a1874 Clear the environment in the cmd/webhooker tests that build a Config (closes #452)
check / check (push) Waiting to run
TestNewApp_StopTimeout and TestNewApp_SendsFxEventsToTheLogger both
build the app graph, which runs config.New, so a variable exported in
the developer's shell reached them: METRICS_USERNAME without
METRICS_PASSWORD failed the second. Both now call
config.ClearEnvForTest before setting their own variables, as the
config tests and the gormlog first-boot test already do.

Model: opus-5-5
2026-10-02 15:46:35 +00:00