[Koha-bugs] [Bug 17755] Introduce Koha::Patron::Attribute::Type(s)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 10 18:46:23 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17755
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #60992|0 |1
is obsolete| |
Attachment #60995|0 |1
is obsolete| |
--- Comment #23 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 61000
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61000&action=edit
Bug 17755: (QA followup) Return $self when appropriate
As failure situations raise exceptions that should be handled outside
the object class, methods should return $self so successive calls can be
chained nicely.
This patch makes methods return $self and adjusts the tests to reflect
this change.
Make sure tests pass:
- Run:
$ prove t/db_dependent/Koha/Patron/Attribute/Types.t
=> SUCCESS: Tests return green
- Sign off :-D
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list