[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
Thu Jul 20 12:44:36 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18826
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #65012|0 |1
is obsolete| |
--- Comment #2 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 65143
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65143&action=edit
[SIGNED-OFF] 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>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list