Tests: Add unit test #3885
This commit is contained in:
parent
292eaf6ee0
commit
59456c57be
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue