mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
16 lines
245 B
Go
16 lines
245 B
Go
package entity
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestDeleteOrphanPeople(t *testing.T) {
|
|
t.Run("Ok", func(t *testing.T) {
|
|
if count, err := DeleteOrphanPeople(); err != nil {
|
|
t.Fatal(err)
|
|
} else {
|
|
t.Logf("deleted %d faces", count)
|
|
}
|
|
})
|
|
}
|