[Koha-bugs] [Bug 17828] Koha::Patron::Attribute-> store should raise an exception if unique_id is being broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 29 21:43:12 CEST 2017


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #61505|0                           |1
        is obsolete|                            |
  Attachment #61506|0                           |1
        is obsolete|                            |
  Attachment #61547|0                           |1
        is obsolete|                            |
  Attachment #61644|0                           |1
        is obsolete|                            |
  Attachment #61662|0                           |1
        is obsolete|                            |

--- Comment #14 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 61703
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61703&action=edit
Bug 17828: Unit tests for Koha::Patron::Attribute->store

Unit tests for an overloaded Koha::Patron::Attribute->store that
checks attribute type's uniqueness property and raises an exception
conveniently.

It also tests for repeatable attribute type's property.

Test plan on the implementing patch.

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list