[Koha-bugs] [Bug 18826] REST API tests do not clean up

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 12 22:28:06 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18826

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 65012
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65012&action=edit
Bug 18826: rollback transaction for api tests

The holds.t tests for the REST api do no rollback properly and modify
the DB (no cleanup).
This comes from a bug caused by SessionStorage = mysql (default)

The error is:
    "rollback ineffective with AutoCommit enabled"

Test plan:
  select count(*) from borrowers;
  prove t/db_dependent/api/v1/holds.t
  select count(*) from borrowers;
=> The number of entry must be the same before and after the tests have
been executed

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


More information about the Koha-bugs mailing list