photoprism/internal/config/darktable_test.go
Michael Mayer 710888c59f Darktable: Disable presets by default
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-21 12:18:53 +02:00

18 lines
346 B
Go

package config
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestConfig_DarktablePresets(t *testing.T) {
c := NewConfig(CliTestContext())
assert.False(t, c.DarktablePresets())
}
func TestConfig_Darktablebin(t *testing.T) {
c := NewConfig(CliTestContext())
assert.Equal(t, "/usr/bin/darktable-cli", c.DarktableBin())
}