forked from Silverfish/proton-bridge
GODT-2229: Own the full path for gluon and do not change Database path.
This commit is contained in:
committed by
Leander Beernaert
parent
8d9db83a87
commit
0580842ad2
@ -67,13 +67,13 @@ func TestVault_Settings_GluonDir(t *testing.T) {
|
||||
require.False(t, corrupt)
|
||||
|
||||
// Check the default gluon dir.
|
||||
require.Equal(t, "/path/to/gluon", s.GetGluonDir())
|
||||
require.Equal(t, "/path/to/gluon", s.GetGluonCacheDir())
|
||||
|
||||
// Modify the gluon dir.
|
||||
require.NoError(t, s.SetGluonDir("/tmp/gluon"))
|
||||
|
||||
// Check the new gluon dir.
|
||||
require.Equal(t, "/tmp/gluon", s.GetGluonDir())
|
||||
require.Equal(t, "/tmp/gluon", s.GetGluonCacheDir())
|
||||
}
|
||||
|
||||
func TestVault_Settings_UpdateChannel(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user