Archived
test, lib/rc: Integration test fixes and polish (#5488)
This commit is contained in:
1 parent
8815ef922b
commit
657be162dd
2 files changed
+3
-4
No files matched your search
@@ -28,8 +28,8 @@ func TestOverride(t *testing.T) {
|
||||
fld := cfg.Folders()["default"]
|
||||
fld.Type = config.FolderTypeSendOnly
|
||||
cfg.SetFolder(fld)
|
||||
t.Log(os.Rename("h1/config.xml", "h1/config.xml.orig"))
|
||||
defer t.Log(os.Rename("h1/config.xml.orig", "h1/config.xml"))
|
||||
os.Rename("h1/config.xml", "h1/config.xml.orig")
|
||||
defer os.Rename("h1/config.xml.orig", "h1/config.xml")
|
||||
cfg.Save()
|
||||
|
||||
log.Println("Cleaning...")
|
||||
|
||||
Reference in new issue
Block a user