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

--- Comment #15 from Tomás Cohen Arazi <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to