diff --git a/product/ERP5/tests/testERP5Commerce.py b/product/ERP5/tests/testERP5Commerce.py
index f02843dd1a567cd451d12c4265b6ac7f9ca120f8..0d3b5078fc235f54e2e33b4094ec3da52c51e98b 100644
--- a/product/ERP5/tests/testERP5Commerce.py
+++ b/product/ERP5/tests/testERP5Commerce.py
@@ -269,8 +269,7 @@ class TestCommerce(ERP5TypeTestCase):
         product_line = category.getRelativeUrl().replace('product_line/', '')
         product.setProductLine(product_line)
         product.setQuantityUnit('unit/piece')
-        supply_line = product.newContent(id='default_supply_line',
-                                         portal_type='Supply Line')
+        supply_line = product.newContent(portal_type='Sale Supply Line')
         supply_line.setBasePrice(10 * (i + 1))
         supply_line.setPricedQuantity(1)
         supply_line.setDefaultResourceValue(product)
@@ -285,8 +284,7 @@ class TestCommerce(ERP5TypeTestCase):
                                            title='UPS Shipping : 24h')
     ups.setQuantityUnit('unit/piece')
     supply_line = ups.setProductLine('shipping/UPS24h')
-    supply_line = ups.newContent(id='default_supply_line',
-                                 portal_type='Supply Line')
+    supply_line = ups.newContent(portal_type='Sale Supply Line')
     supply_line.setBasePrice(10)
     supply_line.setPricedQuantity(1)
     supply_line.setDefaultResourceValue(product)