Bugzilla – Attachment 81797 Details for
Bug 21467
Allow several receipts for a given subscription
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21467: Prevent tests to fail
Bug-21467-Prevent-tests-to-fail.patch (text/plain), 1.21 KB, created by
Jonathan Druart
on 2018-11-01 12:53:26 UTC
(
hide
)
Description:
Bug 21467: Prevent tests to fail
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-11-01 12:53:26 UTC
Size:
1.21 KB
patch
obsolete
>From e49c1215673bcd550d97148c77bb64947d316626 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 1 Nov 2018 09:51:23 -0300 >Subject: [PATCH] Bug 21467: Prevent tests to fail > >The following error is raised if TestBuilder generates too big numbers: > Out of range value for column 'tax_value_on_ordering' > > UPDATE aqorders > SET > tax_value_on_ordering = quantity * ecost_tax_excluded * tax_rate_on_ordering, > tax_value_on_receiving = quantity * unitprice_tax_excluded * tax_rate_on_receiving > WHERE ordernumber = ? > "] at /home/vagrant/kohaclone/C4/Acquisition.pm line 1484. >--- > t/db_dependent/Acquisition.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Acquisition.t b/t/db_dependent/Acquisition.t >index 44ab5c1dc8..ab595155e6 100755 >--- a/t/db_dependent/Acquisition.t >+++ b/t/db_dependent/Acquisition.t >@@ -723,6 +723,8 @@ subtest 'ModReceiveOrder and subscription' => sub { > order_internalnote => $first_note, > quantity => 5, > quantityreceived => 0, >+ ecost_tax_excluded => 42, >+ unitprice_tax_excluded => 42, > } > } > ); >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21467
:
79801
|
79802
|
79834
|
79835
|
79836
|
79837
|
79838
|
80546
|
80706
|
80707
|
80717
|
80718
|
80719
|
80720
|
80721
|
80722
|
80723
|
80724
|
81394
|
81395
|
81396
|
81397
|
81398
|
81399
|
81400
|
81430
|
81797
|
81798
|
81799
|
81800
|
81801
|
81802
|
81803
|
81804
|
81805
|
81806
|
81807
|
81808
|
81809
|
81810
|
81811
|
82117
|
82122
|
82123
|
82124
|
82125
|
82126
|
82127
|
82128
|
82129
|
82130
|
82131
|
82132