]> git.koha-community.org Git - koha.git/commit
Bug 17828: Unit tests for Koha::Patron::Attribute->store
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 30 Dec 2016 14:10:33 +0000 (11:10 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 31 Mar 2017 14:36:47 +0000 (14:36 +0000)
commit46291a0c9f924f5f73824c18b1ee06c206ae9fb4
tree1074ab46de2d7b1b0253fab35619fe037c4d0593
parentd28c2152abd1ba3b5dfd8af1ceffab094c552bfa
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@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Koha/Patron/Attributes.t