Files
photoprism/internal/commands/show_config_options_test.go
2024-12-09 15:11:39 +01:00

16 lines
343 B
Go

package commands
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestShowConfigOptionsCommand(t *testing.T) {
// Run command with test context.
output, err := RunWithTestContext(ShowConfigOptionsCommand, []string{"config-options", "--md"})
assert.NoError(t, err)
assert.Contains(t, output, "PHOTOPRISM_IMPORT_PATH")
}