photoprism/internal/repo/category_test.go
Michael Mayer ca8cfffc24 Backend: Prepare database for advanced filtering and grouping #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 20:24:20 +01:00

17 lines
302 B
Go

package repo
import (
"testing"
"github.com/photoprism/photoprism/internal/config"
)
func TestRepo_CategoryLabels(t *testing.T) {
conf := config.TestConfig()
search := New(conf.OriginalsPath(), conf.Db())
categories := search.CategoryLabels(1000, 0)
t.Logf("categories: %+v", categories)
}