Commit 385247e7 authored by Philip Withnall's avatar Philip Withnall
Browse files

tests: Fix potential match tests in Tracker backend

The recent changes to name matching broke the incrementing of match levels
depended on by the tests. Fix that.
parent a42c33e9
......@@ -126,10 +126,11 @@ public class Folks.PotentialMatch : Object
* spoofed). */
if (a.trust_level == TrustLevel.NONE || b.trust_level == TrustLevel.NONE)
{
this._result = MatchResult.NONE;
return this._result;
}
this._result = MatchResult.VERY_LOW;
/* If individuals share gender. */
if (this._individual_a.gender != Gender.UNSPECIFIED &&
this._individual_b.gender != Gender.UNSPECIFIED &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment