From 2d94580ee6d705761501edf6217fa5e3fc653a06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 13 Jan 2010 17:42:06 +0000
Subject: [PATCH] Update tests, we no longer convert quantity steps to int

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31734 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 ...ce_default_internal_supply_line_price_quantity_step.xml | 4 ++--
 ...ce_default_purchase_supply_line_price_quantity_step.xml | 7 ++++---
 ...source_default_sale_supply_line_price_quantity_step.xml | 7 ++++---
 bt5/erp5_pdm_ui_test/bt/revision                           | 2 +-
 4 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_internal_supply_line_price_quantity_step.xml b/bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_internal_supply_line_price_quantity_step.xml
index fc611ea0ea..d47573a58e 100644
--- a/bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_internal_supply_line_price_quantity_step.xml
+++ b/bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_internal_supply_line_price_quantity_step.xml
@@ -78,8 +78,8 @@ Test quantity steps for price on internal supply line\n
 <tr>\n
   <td>assertText</td>\n
   <td>field_my_internal_supply_line_quantity_step_list</td>\n
-  <td>10\n
-20</td>\n
+  <td>10.0\n
+20.0</td>\n
 <tr>\n
   <td>assertText</td>\n
   <td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1]</td>\n
diff --git a/bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_purchase_supply_line_price_quantity_step.xml b/bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_purchase_supply_line_price_quantity_step.xml
index f77a5d6d0e..6a9b857669 100644
--- a/bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_purchase_supply_line_price_quantity_step.xml
+++ b/bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_purchase_supply_line_price_quantity_step.xml
@@ -78,8 +78,8 @@ Test quantity steps for price on purchase supply line\n
 <tr>\n
   <td>assertText</td>\n
   <td>field_my_purchase_supply_line_quantity_step_list</td>\n
-  <td>10\n
-20</td>\n
+  <td>10.0\n
+20.0</td>\n
 <tr>\n
   <td>assertText</td>\n
   <td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1]</td>\n
@@ -182,7 +182,8 @@ bar</td>\n
 </tbody></table>\n
 </body>\n
 </html> \n
-<!-- vim: syntax=html foldmethod=marker -->
+<!-- vim: syntax=html foldmethod=marker -->\n
+
 
 ]]></string> </value>
         </item>
diff --git a/bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_sale_supply_line_price_quantity_step.xml b/bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_sale_supply_line_price_quantity_step.xml
index 856daaccaf..02cf36b22b 100644
--- a/bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_sale_supply_line_price_quantity_step.xml
+++ b/bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_sale_supply_line_price_quantity_step.xml
@@ -78,8 +78,8 @@ Test quantity steps for price on sale supply line\n
 <tr>\n
   <td>assertText</td>\n
   <td>field_my_sale_supply_line_quantity_step_list</td>\n
-  <td>10\n
-20</td>\n
+  <td>10.0\n
+20.0</td>\n
 <tr>\n
   <td>assertText</td>\n
   <td>//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1]</td>\n
@@ -188,7 +188,8 @@ bar</td>\n
 </tbody></table>\n
 </body>\n
 </html> \n
-<!-- vim: syntax=html foldmethod=marker -->
+<!-- vim: syntax=html foldmethod=marker -->\n
+
 
 ]]></string> </value>
         </item>
diff --git a/bt5/erp5_pdm_ui_test/bt/revision b/bt5/erp5_pdm_ui_test/bt/revision
index 2edeafb09d..b5045cc404 100644
--- a/bt5/erp5_pdm_ui_test/bt/revision
+++ b/bt5/erp5_pdm_ui_test/bt/revision
@@ -1 +1 @@
-20
\ No newline at end of file
+21
\ No newline at end of file
-- 
2.30.9