photoprism/internal/query/places_test.go

24 lines
365 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 TestPurgePlaces(t *testing.T) {
t.Run("success", func(t *testing.T) {
if err := PurgePlaces(); err != nil {
t.Fatal(err)
}
})
}