https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43069

--- Comment #7 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 201992
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201992&action=edit
Bug 43069: Add tests

1) Set system preference 'PatronDuplicateMatchingAddFields' to empty (no fields
ticked)
2) Go to <staff_url>/cgi-bin/koha/members/memberentry.pl?op=add and fill in the
mandatory fields for a brand new patron (one that definitely doesn't exist yet)
3) Click 'Save'
4) Notice you get the 'Duplicate patron record?' dialog, even though no patron
like this exists
5) Apply the patch. Restart plack
6) Repeat steps 2-3 with another new patron
7) Confirm the patron is created fine this time, no false duplicate error
8) Also try setting 'PatronDuplicateMatchingAddFields' to a field (e.g. 'city')
and submit a new patron with that field left blank - confirm no false duplicate
there either
9) Run:
prove t/db_dependent/Koha/Patrons.t

Signed-off-by: David Nind <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to