mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-11 16:24:11 +01:00
16 lines
251 B
Go
16 lines
251 B
Go
package entity
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestPriorities_Report(t *testing.T) {
|
|
t.Run("Len", func(t *testing.T) {
|
|
rows, cols := SrcPriority.Report()
|
|
assert.Len(t, cols, 3)
|
|
assert.NotEmpty(t, rows)
|
|
})
|
|
}
|