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

21 lines
401 B
Go

package commands
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestShowThumbSizesCommand(t *testing.T) {
// Run command with test context.
output, err := RunWithTestContext(ShowThumbSizesCommand, []string{})
if err != nil {
t.Fatal(err)
}
assert.Contains(t, output, "fit_1920")
assert.Contains(t, output, "Mosaic View")
assert.Contains(t, output, "Color Detection")
}