https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27857 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #117710|0 |1 is obsolete| | --- Comment #9 from David Nind <david@davidnind.com> --- Created attachment 117946 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117946&action=edit Bug 27857: Regression tests This patch adds regression tests for the changed behavior. Koha::Patron->extended_attributes will now throw exceptions and rollback on invalid attributes. The existing tests are amended so they don't try to deal with skipping bad attributes. Specific subtests are added for error situations. To test: 1. Apply this patch 2. Run: $ kshell k$ prove t/db_dependent/Koha/Patron.t => FAIL: Tests fail because the new behavior is not implemented. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.