From d338aa55c73e047a135b02f0d2e4ca3d00896565 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 15 Jul 2014 14:00:25 +0200 Subject: [PATCH] [PASSED QA] Bug 7162: (follow-up) Add unit tests for DelOrder The unit tests did not take into account the new DB field. Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer Passes all tests and QA script. Also all Acquisition related patches. --- t/db_dependent/Acquisition.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/db_dependent/Acquisition.t b/t/db_dependent/Acquisition.t index 2f7539e..7da17fd 100755 --- a/t/db_dependent/Acquisition.t +++ b/t/db_dependent/Acquisition.t @@ -8,7 +8,7 @@ use POSIX qw(strftime); use C4::Bookseller qw( GetBookSellerFromId ); -use Test::More tests => 88; +use Test::More tests => 91; BEGIN { use_ok('C4::Acquisition'); @@ -408,6 +408,7 @@ my @expectedfields = qw( quantity_to_receive subtotal latesince + cancellationreason ); ( $test_missing_fields, $test_extra_fields, @@ -521,6 +522,7 @@ my @base_expectedfields = qw( frameworkcode volumedesc datecancellationprinted + cancellationreason ); @expectedfields = ( @base_expectedfields, @@ -649,6 +651,7 @@ ok( budget_id authorisedby booksellerid + cancellationreason ); # note that authorisedby was added to the return of SearchOrder by the -- 1.9.1