]> git.koha-community.org Git - koha.git/commit
Bug 17226: Improve Koha::Object's AUTOLOAD method
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 30 Aug 2016 15:13:21 +0000 (16:13 +0100)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Tue, 11 Oct 2016 05:17:37 +0000 (05:17 +0000)
commitd2510f3e76b1b24ad473944d96141cc0f7a643d4
treed52dbfeb7b4d389b9fa2aa78df7b335863a4f12b
parent442734b4380dc7326bbd242d021a457acff0e18e
Bug 17226: Improve Koha::Object's AUTOLOAD method

Following the path of bug 17091, Koha::Object needs to AUTOLOAD the
methods provided by DBIX::Class.
We already use in_storage, id and is_changed, but others are coming!

Test plan:
  prove t/db_dependent/Koha/Object.t
should return green

Signed-off-by: Claire Gravely <claire_gravely@hotmail.com>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Koha/Object.pm
t/db_dependent/Koha/Object.t [new file with mode: 0755]
t/db_dependent/Patron.t [deleted file]