chore(libreoffice): switch to unoconverter (#715)

This commit is contained in:
Julien Neuhart
2023-11-05 20:50:33 +01:00
committed by GitHub
parent 143b7ce678
commit ff5455881e
4 changed files with 26 additions and 26 deletions

View File

@@ -118,13 +118,13 @@ func TestApi_Validate(t *testing.T) {
{
scenario: "empty LibreOffice bin path",
binPath: "",
unoBinPath: os.Getenv("UNOCONV_BIN_PATH"),
unoBinPath: os.Getenv("UNOCONVERTER_BIN_PATH"),
expectError: true,
},
{
scenario: "LibreOffice bin path does not exist",
binPath: "/foo",
unoBinPath: os.Getenv("UNOCONV_BIN_PATH"),
unoBinPath: os.Getenv("UNOCONVERTER_BIN_PATH"),
expectError: true,
},
{
@@ -142,7 +142,7 @@ func TestApi_Validate(t *testing.T) {
{
scenario: "validate success",
binPath: os.Getenv("CHROMIUM_BIN_PATH"),
unoBinPath: os.Getenv("UNOCONV_BIN_PATH"),
unoBinPath: os.Getenv("UNOCONVERTER_BIN_PATH"),
expectError: false,
},
} {