People: Fix assertion in TestFaces() #22

This commit is contained in:
Michael Mayer 2021-08-14 18:16:47 +02:00
parent 57c5f1f2fb
commit 5ea6f70938

View file

@ -15,7 +15,7 @@ func TestFaces(t *testing.T) {
t.Fatal(err) t.Fatal(err)
} }
assert.GreaterOrEqual(t, 1, len(results)) assert.GreaterOrEqual(t, len(results), 1)
for _, val := range results { for _, val := range results {
assert.IsType(t, entity.Face{}, val) assert.IsType(t, entity.Face{}, val)