[Koha-bugs] [Bug 15244] t/db_dependent/Reserves.t fails with test 14

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 1 18:31:05 CET 2015


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

--- Comment #4 from Marc Véron <veron at veron.ch> ---
Ok previous comment was a mistake.

I added the following after AddReturn (line 285):
warn Dumper( $messages );
warn Dumper ($messages->{ResFound}->{borrowernumber});
warn Dumper ($requesters{'RPL'});


And I get:
$VAR1 = {
          'NotIssued' => 'bug10272_FPL',
          'ResFound' => {
                          'itemnumber' => '301',
                          'priority' => 2,
                          'reservenotes' => '',
                          'ResFound' => 'Reserved',
                          'reservedate' => '2015-12-01',
                          'found' => undef,
                          'timestamp' => '2015-12-01 18:25:57',
                          'biblionumber' => '45053',
                          'waitingdate' => undef,
                          'cancellationdate' => undef,
                          'reserve_id' => '203',
                          'borrowernumber' => '292',
                          'branchcode' => 'FPL'
                        }
        };
$VAR1 = '292';
$VAR1 = '293';


...and for the next run it is
$VAR1 = '300';
$VAR1 = '301';

Hmm, is the database not properly reset after the tests? The borrower numbers
increase with every run.

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


More information about the Koha-bugs mailing list