test(configfile): green — neutralize ambient BEADS_DOLT_SERVER_PORT in TestEnvVarOverrides fallback subtest (refs be-k5jdp)

This commit is contained in:
Jim Wordelman 2026-09-02 22:21:10 -07:00
commit 797d4a9e0b

View file

@ -1082,6 +1082,7 @@ func TestEnvVarOverrides(t *testing.T) {
})
t.Run("BEADS_DOLT_PORT fallback when SERVER_PORT not set", func(t *testing.T) {
t.Setenv("BEADS_DOLT_SERVER_PORT", "")
t.Setenv("BEADS_DOLT_PORT", "3307")
cfg := &Config{}
if got := cfg.GetDoltServerPort(); got != 3307 {