http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11213
--- Comment #30 from M. Tompsett <[email protected]> --- Comment on attachment 26718 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26718 bug_11213: Use branch codes from the database rather than hardcoded CPL and MPL Review of attachment 26718: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=11213&attachment=26718) ----------------------------------------------------------------- ::: t/db_dependent/Items.t @@ +29,5 @@ > } > > my $dbh = C4::Context->dbh; > +my $branches = GetBranches; > +my ($branch1, $branch2) = keys %$branches; I like the idea, but you are missing a check to make sure they are defined. And if they aren't, you need to temporarily add them and then roll them back. -- 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/
