[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
Fri Jul 21 14:09:23 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18826
--- Comment #3 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 65177
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65177&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
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list