Tests: Add unit test #3885

This commit is contained in:
graciousgrey 2023-11-21 17:47:29 +01:00
parent 292eaf6ee0
commit 59456c57be

View file

@ -3,6 +3,7 @@ package photoprism
import (
"os"
"path/filepath"
"strings"
"testing"
"github.com/photoprism/photoprism/internal/config"
@ -151,6 +152,9 @@ func TestConvert_PngConvertCommands(t *testing.T) {
assert.False(t, useMutex)
assert.NotEmpty(t, cmds)
assert.True(t, strings.Contains(cmds[0].String(), "rsvg"))
t.Logf("commands: %#v", cmds)
})
}