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