Revert "GODT-2229: Allow changing cache folder to a non-empty folder."

This reverts commit b19e16e4b8.
This commit is contained in:
Jakub
2023-01-11 10:19:38 +01:00
parent 606a8f134d
commit 715efaa087
15 changed files with 63 additions and 187 deletions

View File

@ -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.GetGluonCacheDir())
require.Equal(t, "/path/to/gluon", s.GetGluonDir())
// Modify the gluon dir.
require.NoError(t, s.SetGluonDir("/tmp/gluon"))
// Check the new gluon dir.
require.Equal(t, "/tmp/gluon", s.GetGluonCacheDir())
require.Equal(t, "/tmp/gluon", s.GetGluonDir())
}
func TestVault_Settings_UpdateChannel(t *testing.T) {