[Koha-bugs] [Bug 14204] Fix t/db_dependent/Labels/t_Batch.t failing test from Bug 12911
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 15 20:30:52 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14204
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #39213|0 |1
is obsolete| |
--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 39217
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39217&action=edit
[PASSED QA] Bug 14204: Fix t/db_dependent/Labels/t_Batch.t failing test from
Bug 12991
This patch updaes the batch_id variable after items are added to test batch
To test:
1. prove t/db_dependent/Labels/t_Batch.t and see two tests fail
2. apply patch
3. prove again, tests pass!
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
NOTE: The $batch->add_item() call to C4::Creators::Batch::add_item
triggers the change of the batch_id so this line is necessary!
Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list