photoprism/internal/entity/subjects_test.go
Michael Mayer 24eff21aa4 Search: Default to photo names and keywords #1517 #1560
Default to photo name when search term is too short or on the stop list.
Search full text index otherwise, which now include names of people
(requires reindexing).
2021-09-29 20:09:34 +02:00

16 lines
250 B
Go

package entity
import (
"testing"
)
func TestDeleteOrphanPeople(t *testing.T) {
t.Run("Success", func(t *testing.T) {
if count, err := DeleteOrphanPeople(); err != nil {
t.Fatal(err)
} else {
t.Logf("deleted %d faces", count)
}
})
}