test(configfile): green — neutralize ambient BEADS_DOLT_SERVER_PORT in TestEnvVarOverrides fallback subtest (refs be-k5jdp)
This commit is contained in:
parent
c0d8da42de
commit
797d4a9e0b
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue