[Koha-bugs] [Bug 17558] Fix t/db_dependent/Koha/Patron/Messages.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 11 12:26:30 CET 2016


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

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #11 from Josef Moravec <josef.moravec at gmail.com> ---
(In reply to Marcel de Rooy from comment #9)
>  my $patron         = $builder->build( { source => 'Borrower', values => {
> branchcode => $library->{branchcode} } } );
> +my $patron_2       = Koha::Patrons->search->next;
> 
> Wouldn't it be more consistent to use TestBuilder for both patrons. This is
> confusing and might give unexpected results depending on patrons present?

You are right, I've attached a followup patch

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


More information about the Koha-bugs mailing list