2021-09-29 20:09:34 +02:00
|
|
|
package entity
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestDeleteOrphanPeople(t *testing.T) {
|
2022-10-13 22:11:02 +02:00
|
|
|
t.Run("Ok", func(t *testing.T) {
|
2021-09-29 20:09:34 +02:00
|
|
|
if count, err := DeleteOrphanPeople(); err != nil {
|
|
|
|
t.Fatal(err)
|
|
|
|
} else {
|
|
|
|
t.Logf("deleted %d faces", count)
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|