[Koha-bugs] [Bug 13590] Add ability to charge fines at start of charge period

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 6 18:33:01 CEST 2015


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

--- Comment #15 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Mirko Tietgen from comment #14)
> (In reply to Kyle M Hall from comment #13)
> 
> > 3) prove t/db_dependent/Circulation_Issuingrule.t
> 
> t/db_dependent/Circulation_Issuingrule.t .. ok   
> All tests successful.
> Files=1, Tests=9,  2 wallclock secs ( 0.06 usr  0.02 sys +  1.98 cusr  0.23
> csys =  2.29 CPU)
> Result: PASS
> 
> > 4) prove t/db_dependent/Circulation.t
> 
> t/db_dependent/Circulation.t .. 22/61 DBD::mysql::st execute failed:
> Duplicate entry '4' for key 'PRIMARY' at /home/mirko/koha/C4/Circulation.pm
> line 2100.
> DBD::mysql::st execute failed: Duplicate entry '4' for key 'PRIMARY' at
> /home/mirko/koha/C4/Circulation.pm line 2100.
> # Looks like you planned 61 tests but ran 43.
> # Looks like your test exited with 255 just after 43.
> t/db_dependent/Circulation.t .. Dubious, test returned 255 (wstat 65280,
> 0xff00)
> Failed 18/61 subtests 
> 
> 
> Test Summary Report
> -------------------
> t/db_dependent/Circulation.t (Wstat: 65280 Tests: 43 Failed: 0)
>   Non-zero exit status: 255
>   Parse errors: Bad plan.  You planned 61 tests but ran 43.
> Files=1, Tests=43,  5 wallclock secs ( 0.07 usr  0.03 sys +  3.02 cusr  0.40
> csys =  3.52 CPU)
> Result: FAIL
> 
> 
> > 5) prove t/db_dependent/Fines.t
> 
> t/db_dependent/Fines.t .. DBIx::Class::ResultSet::create(): No such column
> chargeperiod_charge_at on Koha::Schema::Result::Issuingrule at
> t/db_dependent/Fines.t line 21
> # Looks like your test exited with 255 before it could output anything.
> t/db_dependent/Fines.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 5/5 subtests 
> 
> Test Summary Report
> -------------------
> t/db_dependent/Fines.t (Wstat: 65280 Tests: 0 Failed: 0)
>   Non-zero exit status: 255
>   Parse errors: Bad plan.  You planned 5 tests but ran 0.
> Files=1, Tests=0,  3 wallclock secs ( 0.05 usr  0.03 sys +  1.84 cusr  0.23
> csys =  2.15 CPU)
> Result: FAIL
> 
> I ran updatedatabase before I tested, so I wonder if something is missing?

Did you run the unit tests with a fresh install of Koha with the default data?

Kyle

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


More information about the Koha-bugs mailing list