diff --git a/product/ERP5/tests/testAccountingRules.py b/product/ERP5/tests/testAccountingRules.py
index 92be839b6ba428d93b3b61f5542b58f7d29e9d16..34147bebbc9ab90446e6ec5d9129200d6574d277 100644
--- a/product/ERP5/tests/testAccountingRules.py
+++ b/product/ERP5/tests/testAccountingRules.py
@@ -129,12 +129,6 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
     self.createCategories()
     self.validateRules()
     
-  def login(self):
-    uf = self.getPortal().acl_users
-    uf._doAddUser('alex', '', ['Manager', 'Owner', 'Assignor'], [])
-    user = uf.getUserById('alex').__of__(uf)
-    newSecurityManager(None, user)
-  
   def createCategories(self) :
     """ create all categories that are needed for this test.
     It uses getCategoriesToCreate, so you should overload this method.