[Koha-bugs] [Bug 20400] Add routing list tab to the patron account in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 23 14:46:56 CET 2018


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

--- Comment #15 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Comment on attachment 73123
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73123
Bug 20400: Add unit tests

Review of attachment 73123:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20400&attachment=73123)
-----------------------------------------------------------------

This 

+    my $patron = $builder->build( { source => 'Borrower' } );
+    $patron = Koha::Patrons->find( $patron->{borrowernumber} );

should be replaced by

+    my $patron = $builder->build_object({ class => 'Koha::Patrons' });

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


More information about the Koha-bugs mailing list