photoprism/internal/query/places_test.go

29 lines
412 B
Go

package query
import (
"testing"
)
func TestCellIDs(t *testing.T) {
t.Run("success", func(t *testing.T) {
result, err := CellIDs()
if err != nil {
t.Fatal(err)
}
t.Logf("cell count: %v", len(result))
})
}
func TestPlaceIDs(t *testing.T) {
t.Run("success", func(t *testing.T) {
result, err := PlaceIDs()
if err != nil {
t.Fatal(err)
}
t.Logf("place count: %v", len(result))
})
}