mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Tests: make sure files are deleted (#6323)
calling `docsettings:flush()` was causing the sidecar file to be recreated leaving garbage folders in the KOreader folder after running the tests
This commit is contained in:
@@ -33,7 +33,6 @@ describe("document registry module", function()
|
||||
|
||||
local docsettings = DocSettings:open(path)
|
||||
docsettings:purge()
|
||||
docsettings:flush()
|
||||
end)
|
||||
it("should set global setting for rendering engine", function()
|
||||
local path = "../../foo.fb2"
|
||||
@@ -58,7 +57,6 @@ describe("document registry module", function()
|
||||
assert.is_equal("mupdf", provider.provider)
|
||||
|
||||
docsettings:purge()
|
||||
docsettings:flush()
|
||||
end)
|
||||
it("should return global setting for rendering engine", function()
|
||||
local path = "../../foofoo.fb2"
|
||||
|
||||
Reference in New Issue
Block a user