mirror of
https://github.com/photoprism/photoprism.git
synced 2025-10-04 00:16:54 +08:00
16 lines
343 B
Go
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")
|
|
}
|