diff --git a/product/ERP5OOo/tests/testDms.py b/product/ERP5OOo/tests/testDms.py
index 0e01d1fbc66985630dd1b8ccc46c23d199877efd..319dc6b9d44790c8ca72d904e5b4403e6e8c41d3 100644
--- a/product/ERP5OOo/tests/testDms.py
+++ b/product/ERP5OOo/tests/testDms.py
@@ -566,7 +566,7 @@ class TestDocument(TestDocumentMixin):
     # test get_size on temporary OOoDocument
     from Products.ERP5Type.Document import newTempOOoDocument
     doc = newTempOOoDocument(self.portal, 'tmp')
-    doc.edit(base_data='OOo')
+    doc.edit(data='OOo')
     self.assertEquals(len('OOo'), doc.get_size())
 
   def testOOoDocument_hasData(self):