http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10333 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #18399|0 |1 is obsolete| | --- Comment #4 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 19201 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19201&action=edit Bug 10333: Labels/t_Batch.t needs to create its own data (In reply to Kyle M Hall from comment #3)
With this patch, the tests now assume that the home and holding branch are in 952 a and b. While this is the Koha default, it's not necessarily true.
I think it would be better to get the values for these fields using GetMarcFromKohaField().
I use a DB with sample data, but you are right, it is not necessary to add this constraint. This new patch uses C4::Biblio::GetMarcFromKohaField and executes sql queries in a transaction. -- You are receiving this mail because: You are watching all bug changes.