mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
15 lines
343 B
Go
15 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")
|
|
}
|