[Koha-bugs] [Bug 14097] Add unit tests to C4::UsageStats

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 12 14:44:45 CEST 2015


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

--- Comment #11 from Julian FIOL <julian.fiol at biblibre.com> ---
Created attachment 39080
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39080&action=edit
Bug 14097 : Rollback issue and warning corrected

The rollback issue came from '_count' testing.
It used a 'DROP TABLE' and 'CREATE TABLE' which implicitly do autocommit.
That's why the final rollback could not be.

This patch no longer uses t::lib::TestBuilder either because it was the cause
of the warning on Comment #1 :
"DBIx::Class::Storage::txn_rollback(): A txn_rollback
in nested transaction is ineffective! (depth 1) at
t/lib/TestBuilder.pm line 308"

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


More information about the Koha-bugs mailing list