photoprism/internal/query/places_test.go

25 lines
365 B
Go
Raw Normal View History

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)
}
})
}