Summary: | UT: GetOrdersByBiblionumber.t needs a database transaction | ||
---|---|---|---|
Product: | Koha | Reporter: | kenza <kenza.zaki> |
Component: | Test Suite | Assignee: | kenza <kenza.zaki> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P5 - low | CC: | gmcharlt, kenza.zaki, tomascohen |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 10270 | ||
Bug Blocks: | |||
Attachments: |
GetOrdersByBiblionumber.t needs a database transaction
Bug 10575 : GetOrdersByBiblionumber.t needs a database transaction [PASSED QA] Bug 10575 : GetOrdersByBiblionumber.t needs a database transaction |
Description
kenza
2013-07-11 14:03:49 UTC
Created attachment 19573 [details] [review] GetOrdersByBiblionumber.t needs a database transaction Before this patch, the queries in GetOrdersByBiblionumber.t were commited in the database and have to be removed at the end. This patch wraps tests in a database transaction. Test Plan : prove t/db_dependent/Acquisition/GetOrdersByBiblionumber.t t/db_dependent/Acquisition/GetOrdersByBiblionumber.t .. ok All tests successful. Files=1, Tests=3, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.37 cusr 0.05 csys = 0.45 CPU) Result: PASS Created attachment 19617 [details] [review] Bug 10575 : GetOrdersByBiblionumber.t needs a database transaction Before this patch, the queries in GetOrdersByBiblionumber.t were commited in the database and have to be removed at the end. This patch wraps tests in a database transaction. Test Plan : prove t/db_dependent/Acquisition/GetOrdersByBiblionumber.t t/db_dependent/Acquisition/GetOrdersByBiblionumber.t .. ok All tests successful. Files=1, Tests=3, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.37 cusr 0.05 csys = 0.45 CPU) Result: PASS Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Created attachment 19618 [details] [review] [PASSED QA] Bug 10575 : GetOrdersByBiblionumber.t needs a database transaction Before this patch, the queries in GetOrdersByBiblionumber.t were commited in the database and have to be removed at the end. This patch wraps tests in a database transaction. Test Plan : prove t/db_dependent/Acquisition/GetOrdersByBiblionumber.t t/db_dependent/Acquisition/GetOrdersByBiblionumber.t .. ok All tests successful. Files=1, Tests=3, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.37 cusr 0.05 csys = 0.45 CPU) Result: PASS Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Tests pass. Pushed to master. Thanks, Kenza, and congratulations on having your first patch accepted into Koha! This patch has been pushed to 3.12.x, will be in 3.12.3. Thanks Kenza! |