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