photoprism/internal/entity/subjects_test.go
Michael Mayer 884dea17de Security: Use individual preview tokens for each user account #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-13 22:11:02 +02:00

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