[Koha-bugs] [Bug 10333] UT: Labels/t_Batch.t needs to create its own data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 16 10:24:11 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10333

--- Comment #12 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Srdjan Jankovic from comment #11)
> Yes, I was doing something else and removed the syspref erroneously. When I
> put it back there are no warnings.
> But the test failures stayed. Do you need any more details eg table dumps?

I read the code but I have no idea why they don't pass.
First step, the batch is created and the batch_id is backed-up into the
$batch_id var. Items are added to the batch and the retrieve method returns -2
if the batch does not contain items.

Maybe could you warn the $batch_id var (l. 56)? Should be > 1.
To check if items have been added could be interesting too (SELECT * FROM
creator_batches WHERE batch_id = $batch_id).

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


More information about the Koha-bugs mailing list