Bugzilla – Attachment 120814 Details for
Bug 27203
Order unitprice is not set anymore and totals are 0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27203: Adjust unit tests
Bug-27203-Adjust-unit-tests.patch (text/plain), 1.04 KB, created by
Katrin Fischer
on 2021-05-10 21:35:10 UTC
(
hide
)
Description:
Bug 27203: Adjust unit tests
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-05-10 21:35:10 UTC
Size:
1.04 KB
patch
obsolete
>From 8b419fe0025acf848a77165f832e398d6ebe3ca8 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 5 May 2021 15:28:26 +0000 >Subject: [PATCH] Bug 27203: Adjust unit tests > >It seems the issue here is that the price passed in is a string, and not a number, so the tax >value is not calculated when no unitprice is provided > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > t/db_dependent/Acquisition/populate_order_with_prices.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Acquisition/populate_order_with_prices.t b/t/db_dependent/Acquisition/populate_order_with_prices.t >index 7e59ec29dc..50af03bf6d 100755 >--- a/t/db_dependent/Acquisition/populate_order_with_prices.t >+++ b/t/db_dependent/Acquisition/populate_order_with_prices.t >@@ -41,7 +41,7 @@ my $order_exc_tax = { > tax_rate => .1965, > discount => .42, > rrp => 16.99, >- unitprice => 0.00, >+ unitprice => "0.00", > quantity => 8, > }; > >-- >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 27203
:
114342
|
114476
|
120051
|
120052
|
120053
|
120249
|
120250
|
120551
|
120552
|
120724
|
120725
|
120765
| 120814 |
120815