package commands import ( "testing" "github.com/photoprism/photoprism/internal/config" "github.com/photoprism/photoprism/pkg/capture" "github.com/stretchr/testify/assert" ) func TestShowVideoSizesCommand(t *testing.T) { var err error ctx := config.CliTestContext() output := capture.Output(func() { err = ShowVideoSizesCommand.Run(ctx) }) if err != nil { t.Fatal(err) } assert.Contains(t, output, "3840") assert.Contains(t, output, "7680") assert.Contains(t, output, "4K Ultra HD") }