]> git.koha-community.org Git - koha.git/commit
Bug 12626: SQLHelper replacement - C4::Acquisition
authorYohann Dufour <dufour.yohann@gmail.com>
Tue, 22 Jul 2014 11:48:03 +0000 (13:48 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 26 Aug 2014 18:44:32 +0000 (15:44 -0300)
commit05b261595cfd33450e1740efba8d2cfb7efce069
tree0cd455325d96b471bfaaee64566b3076327381cd
parent2bbb27c841bb4c3810d4db81a4366df29cdba833
Bug 12626: SQLHelper replacement - C4::Acquisition

With this patch, the subroutine NewOrder uses DBIx::Class instead of C4::SQLHelper.

Test plan:
1) Apply the patch

2) Execute the unit tests by launching :
prove t/db_dependent/Acquisition.t

3) The result has to be a success without error or warning :
t/db_dependent/Acquisition.t .. ok
All tests successful.
Files=1, Tests=79,  2 wallclock secs ( 0.04 usr  0.01 sys +  1.80 cusr  0.09 csys =  1.94 CPU)
Result: PASS

4) Log in the koha intranet and create a new order in the acquition module

5) The creation has to be a success

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Test pass, new order created without problem, no koha-qa errors

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested creating a new order from a subscription, no problems found.
Passes tests and QA script.
C4/Acquisition.pm