GODT-2221: Set DOH off by default.

This commit is contained in:
Romain Le Jeune
2023-01-04 12:08:06 +00:00
parent b10e8abde0
commit 3743e45566
5 changed files with 12 additions and 12 deletions

View File

@ -124,13 +124,13 @@ func TestVault_Settings_ProxyAllowed(t *testing.T) {
s := newVault(t)
// Check the default proxy allowed setting.
require.Equal(t, true, s.GetProxyAllowed())
require.Equal(t, false, s.GetProxyAllowed())
// Modify the proxy allowed setting.
require.NoError(t, s.SetProxyAllowed(false))
require.NoError(t, s.SetProxyAllowed(true))
// Check the new proxy allowed setting.
require.Equal(t, false, s.GetProxyAllowed())
require.Equal(t, true, s.GetProxyAllowed())
}
func TestVault_Settings_ShowAllMail(t *testing.T) {

View File

@ -76,7 +76,7 @@ func newDefaultSettings(gluonDir string) Settings {
UpdateRollout: rand.Float64(), //nolint:gosec
ColorScheme: "",
ProxyAllowed: true,
ProxyAllowed: false,
ShowAllMail: true,
Autostart: true,
AutoUpdate: true,